arcade-mcp/schemas/preview/invoke_tool_request.schema.jsonc
Nate Barbettini 554f47cfd7
Spike FlaskActor and cleanup of BaseActor (#12)
Cleanup and refactor of actor abstraction and
related classes/methods


[ committed by @Spartee ]
[ Authored by @nbarbettini ]
2024-08-05 13:26:56 -07:00

73 lines
1.8 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": "ID of the overall run"
},
"invocation_id": {
"type": "string",
"description": "ID of this specific tool call"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"tool": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the tool to call (invoke)"
},
"version": {
"type": "string",
"description": "Version of the named tool to call (invoke)"
}
},
"required": ["name", "version"],
"additionalProperties": false
},
"inputs": {
"type": "object",
"additionalProperties": true
},
"context": {
"type": "object",
"properties": {
"authorization": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"additionalProperties": false
}
},
"user": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A unique ID that identifies the user"
},
"name": {
"type": "string",
"description": "The name of the user"
}
},
"required": ["id"],
"additionalProperties": false
}
}
}
},
"required": ["run_id", "invocation_id", "created_at", "tool", "inputs", "context"],
"additionalProperties": false
}