arcade-mcp/schemas/preview/invoke_tool_request.schema.jsonc
Sterling Dreyer 2cc9aba0f4
Fix For New Schemas (#187)
This is a start but may be incomplete

---------

Co-authored-by: Nate Barbettini <nate@arcade-ai.com>
2025-01-03 13:47:23 -08:00

70 lines
1.9 KiB
Text

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"$schema": {
// Explicitly allow JSON-Schema to be referenced (needed due to additionalProperties: false)
"type": "string",
"format": "uri"
},
"run_id": {
"type": "string",
"description": "The globally-unique run ID provided by the Engine."
},
"execution_id": {
"type": "string",
"description": "The globally-unique ID for this tool execution in the run."
},
"created_at": {
"type": "string",
"format": "date-time"
},
"tool": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the tool to call (invoke)"
},
"toolkit": {
"type": "string",
"description": "Name of the toolkit containing the tool to call"
},
"version": {
"type": "string",
"description": "Version of the toolkit containing the tool to call"
}
},
"required": ["name", "toolkit_name", "version"],
"additionalProperties": false
},
"inputs": {
"type": "object",
"additionalProperties": true
},
"context": {
"type": "object",
"properties": {
"authorization": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"additionalProperties": false
}
},
"user_id": {
"type": "string",
"description": "A unique ID that identifies the user (if any)"
},
"user_info": {
"type": "object",
"description": "The user information provided by the authorization server (if any)"
}
}
}
},
"required": ["run_id", "invocation_id", "created_at", "tool", "inputs", "context"],
"additionalProperties": false
}