~ 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
75 lines · 1.7 KB Raw History
{
	"lexicon": 1,
	"id": "place.hud.searchActors",
	"description": "Accounts whose handle or name starts with what is typed, for signing in.",
	"defs": {
		"main": {
			"type": "query",
			"description": "Accounts anywhere on atproto matching what is typed so far of a handle or name, best first, as the typeahead service HUD asks finds them: none for under two letters, or when that service cannot say. For the sign-in forms of the workspace's page and HUD's apps. No auth required.",
			"parameters": {
				"type": "params",
				"required": [
					"q"
				],
				"properties": {
					"q": {
						"type": "string",
						"maxLength": 256,
						"description": "What is typed, with or without a leading @."
					},
					"limit": {
						"type": "integer",
						"minimum": 1,
						"maximum": 10,
						"default": 6
					}
				}
			},
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": [
						"actors"
					],
					"properties": {
						"actors": {
							"type": "array",
							"items": {
								"type": "ref",
								"ref": "#actor"
							}
						}
					}
				}
			}
		},
		"actor": {
			"type": "object",
			"description": "An account the typeahead service matched, as it says: its handle is not verified.",
			"required": [
				"did",
				"handle"
			],
			"properties": {
				"did": {
					"type": "string",
					"format": "did"
				},
				"handle": {
					"type": "string",
					"maxLength": 253,
					"description": "Their handle, as the typeahead service has it: unverified, for the sign-in field alone."
				},
				"displayName": {
					"type": "string",
					"maxLength": 640
				},
				"avatar": {
					"type": "string",
					"format": "uri"
				}
			}
		}
	}
}