place.hud.callTool
Call one of HUD's tools as the person, as an MCP client's tools/call does: what a tile draws. The canvas tools are an agent's, not called here. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin on a procedure) or a HUD access token as Bearer.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3jbje3cnqju |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"kit": {
"description": "A kit, HUD's renderer on a platform, as it says itself, as an MCP client's place.hud/kit capability does.",
"properties": {
"platform": {
"description": "The platform it draws on.",
"knownValues": [
"ios",
"android",
"web"
],
"maxLength": 32,
"type": "string"
},
"version": {
"description": "Its version, the HUD SDK version it was built from, as 0.3.0.",
"maxLength": 64,
"type": "string"
}
},
"required": [
"platform",
"version"
],
"type": "object"
},
"main": {
"description": "Call one of HUD's tools as the person, as an MCP client's tools/call does: what a tile draws. The canvas tools are an agent's, not called here. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin on a procedure) or a HUD access token as Bearer.",
"errors": [
{
"description": "No such tool, a canvas tool, or input not what the method takes.",
"name": "InvalidRequest"
},
{
"description": "No live session, or its sign-in at the person's PDS ended: sign in again.",
"name": "AuthRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"arguments": {
"description": "Its arguments, an object.",
"type": "unknown"
},
"kit": {
"description": "The renderer drawing the result's tree, an app's built on HUD: the tree is fitted to its version, what it can't draw left out or drawn as it can. Called by Bearer without it, the oldest kit's; by the workspace's page, as current as HUD.",
"ref": "#kit",
"type": "ref"
},
"name": {
"description": "The tool, by its MCP name.",
"maxLength": 64,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"result": {
"description": "The tool's MCP CallToolResult: content, structuredContent, isError and _meta. A tool's error is its result's, isError true.",
"type": "unknown"
}
},
"required": [
"result"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Call one of HUD's tools.",
"id": "place.hud.callTool",
"lexicon": 1
}