-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Invalid JSON Schema in Tool Definition (tool 208)
Error
API Error: 400 {
"type": "invalid_request_error",
"message": "tools.208.custom.input_schema: JSON schema is invalid.
It must match JSON Schema draft 2020-12
(https://json-schema.org/draft/2020-12)"
}
Reproduction
- Configure Dokploy MCP server in Claude Code/Desktop
- Start a conversation
- Error appears when loading tool definitions
Note: Disabling the Dokploy MCP server resolves the error, confirming the issue is with this server's tool definitions.
Expected
Tool schemas should conform to JSON Schema draft 2020-12 specification.
Suggested Fix
The tool at index 208 has an invalid input_schema. Common issues:
- Missing or incorrect
$schemadeclaration - Invalid
typevalues - Malformed
requiredarray orpropertiesobject - Invalid constraint definitions
Please validate the schema at tool 208 against the JSON Schema spec.
Valid schema example:
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"param": { "type": "string", "description": "..." }
},
"required": ["param"],
"additionalProperties": false
}gabber235
Metadata
Metadata
Assignees
Labels
No labels