~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0
58 lines · 1.4 KB Raw History
{
	"lexicon": 1,
	"id": "place.hud.createCanvas",
	"description": "Make a canvas.",
	"defs": {
		"main": {
			"type": "procedure",
			"description": "Make a canvas of the person's, opened as a tab at the end and current. 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.",
			"input": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": [
						"name"
					],
					"properties": {
						"name": {
							"type": "string",
							"minLength": 1,
							"maxLength": 800,
							"maxGraphemes": 80,
							"description": "The canvas's name, one line: spaces collapse."
						}
					}
				}
			},
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": [
						"canvas"
					],
					"properties": {
						"canvas": {
							"type": "ref",
							"ref": "place.hud.defs#canvasView"
						}
					}
				}
			},
			"errors": [
				{
					"name": "InvalidRequest",
					"description": "The input is not what the method takes, or what it asks cannot be done."
				},
				{
					"name": "LimitReached",
					"description": "A limit was reached: 50 canvases an owner, 20 members a canvas, 3 tiles a column."
				},
				{
					"name": "AuthRequired",
					"description": "No live web session or HUD access token: sign in."
				}
			]
		}
	}
}