Skip to main content
POST
/
v1
/
tools
/
{id}
/
test
Test a tool configuration
curl --request POST \
  --url https://api.pyai.com/v1/tools/{id}/test \
  --header 'Authorization: Bearer <token>'
{
  "object": "tool.test",
  "tool_id": "<string>",
  "name": "<string>",
  "ok": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Path Parameters

id
string
required

Response

Dry-run result

object
string
Example:

"tool.test"

tool_id
string
name
string
ok
boolean
message
string