~ 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
63 lines · 1.3 KB Raw History
{
	"lexicon": 1,
	"id": "app.bsky.graph.getRelationships",
	"defs": {
		"main": {
			"type": "query",
			"description": "Enumerates public relationships between one account, and a list of other accounts. Does not require auth.",
			"parameters": {
				"type": "params",
				"required": [
					"actor"
				],
				"properties": {
					"actor": {
						"type": "string",
						"format": "at-identifier",
						"description": "Primary account requesting relationships for."
					},
					"others": {
						"type": "array",
						"description": "List of 'other' accounts to be related back to the primary.",
						"maxLength": 30,
						"items": {
							"type": "string",
							"format": "at-identifier"
						}
					}
				}
			},
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": [
						"relationships"
					],
					"properties": {
						"actor": {
							"type": "string",
							"format": "did"
						},
						"relationships": {
							"type": "array",
							"items": {
								"type": "union",
								"refs": [
									"app.bsky.graph.defs#relationship",
									"app.bsky.graph.defs#notFoundActor"
								]
							}
						}
					}
				}
			},
			"errors": [
				{
					"name": "ActorNotFound",
					"description": "the primary actor at-identifier could not be resolved"
				}
			]
		}
	}
}