Validates Selected Tool
Was this helpful?
POST /api/v1/tools/validate
Validates the configuration of the provided tool and returns a validation result.
Authentication: Bearer token required (Authorization: Bearer <token>)
Permission: Permissions.TOOLS_TOOL_UPDATE or Permissions.TOOLS_TOOL_REVIEW
{
"name": "My Tool",
"description": "Tool description",
"config": {
"blockType": "tool",
"children": []
}
}name
string
Yes
Human-readable name of the tool
description
string
No
Brief description of the tool's purpose
config
object
Yes
Tool configuration object to validate
Status: 200 OK
valid
boolean
Whether the tool configuration is valid
results
array
List of validation errors (empty when valid)
401 Unauthorized
Missing or invalid token
403 Forbidden
Insufficient permissions
500 Internal Server Error
Unexpected server failure
Was this helpful?
Was this helpful?
{
"valid": true,
"results": []
}