Search callable provider tools
curl --request GET \
--url https://code.deepline.com/api/v2/tools/search \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://code.deepline.com/api/v2/tools/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://code.deepline.com/api/v2/tools/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"tools": [
{
"toolId": "<string>",
"provider": "<string>",
"operation": "<string>",
"description": "<string>",
"inputFields": [
"<string>"
]
}
]
}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}Tools
Search callable provider tools
Searches the tool catalog by intent and returns ranked typed tool candidates.
GET
/
api
/
v2
/
tools
/
search
Search callable provider tools
curl --request GET \
--url https://code.deepline.com/api/v2/tools/search \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://code.deepline.com/api/v2/tools/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://code.deepline.com/api/v2/tools/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"tools": [
{
"toolId": "<string>",
"provider": "<string>",
"operation": "<string>",
"description": "<string>",
"inputFields": [
"<string>"
]
}
]
}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}Authentication: workspace API key in
Authorization: Bearer <key>.
Errors
| Status | Meaning |
|---|---|
| 400 | The request conflicts with current state or a retained request identity. |
| 401 | The request conflicts with current state or a retained request identity. |
| 500 | The request conflicts with current state or a retained request identity. |