Tool Testing
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
world_tool — other tool families use their dedicated endpoints
Fully qualified tool name
Service ID that owns the HSM
Optional entity ID for context
If true, write tools are simulated without persistence
falseSuccessful Response
0falsetool_test""worldfalseMissing or invalid credentials.
Insufficient permissions.
Invalid request body.
Voice agent service unavailable.
POST /v1/{workspace_id}/tools/execute HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 212
{
"tool_type": "text",
"tool_name": "text",
"service_id": "123e4567-e89b-12d3-a456-426614174000",
"input_params": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"entity_id": "123e4567-e89b-12d3-a456-426614174000",
"dry_run": false
}{
"result": null,
"duration_ms": 0,
"dry_run": false,
"source": "tool_test",
"tool_type": "",
"tier": "world",
"is_write": false,
"sub_tool_logs": [
{
"tool_name": "",
"input": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"output": "",
"duration_ms": 0,
"succeeded": true
}
],
"blocked_side_effects": [
"text"
],
"error": "text"
}API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
Missing or invalid credentials.
Insufficient permissions.
Validation Error
Voice agent service unavailable.
GET /v1/{workspace_id}/services/{service_id}/tools/resolve HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"tools": [
{
"tool_name": "text",
"tool_type": "text",
"description": "",
"input_schema": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"states": [
"text"
],
"tier": "world",
"is_write": false,
"additional_instructions": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
],
"service_id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000"
}API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
Missing or invalid credentials.
Insufficient permissions.
Voice agent service unavailable.
GET /v1/{workspace_id}/tools/catalog HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"tools": [
{
"tool_name": "text",
"tool_type": "text",
"description": "",
"input_schema": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"states": [
"text"
],
"tier": "world",
"is_write": false,
"additional_instructions": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
}Last updated
Was this helpful?

