Skip to main content
POST
/
v1
/
tool-servers
/
{toolServerId}
/
tools
/
{toolName}
/
test
Test a tool call
curl --request POST \
  --url https://api.devic.ai/v1/tool-servers/{toolServerId}/tools/{toolName}/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "parameters": {}
}
'
{
  "success": true,
  "data": {},
  "error": "<string>",
  "executionTimeMs": 123,
  "requestUrl": "<string>",
  "requestMethod": "<string>"
}

Authorizations

Authorization
string
header
required

Use JWT token for authentication

Path Parameters

toolServerId
string
required

The unique identifier of the tool server

toolName
string
required

The function name of the tool to test

Body

application/json
parameters
object
required

Parameters object to pass to the tool

Response

Tool call executed

success
boolean

Whether the tool call was successful

data
object

Tool call result data

error
string

Error message if the call failed

executionTimeMs
integer

Execution time in milliseconds

requestUrl
string

The URL that was called

requestMethod
string

The HTTP method used