- Implements https://app.clickup.com/t/86b1whxb3 on the SDK side - - Corresponding Engine PR: https://github.com/ArcadeAI/Engine/pull/113/files?w=1 - Updates existing toolkits with new syntax.
70 lines
1.8 KiB
Text
70 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)"
|
|
},
|
|
"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
|
|
}
|