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

johnandersen777.bsky.social/atlibs-code-mode

0
0
main
36 lines · 1.2 KB Raw History
{
	"lexicon": 1,
	"id": "com.fedfork.exec.mcp.message",
	"defs": {
		"main": {
			"type": "procedure",
			"description": "Host pseudo-call or composition hook, never sent to a PDS: one MCP JSON-RPC 2.0 message (MCP 2025-11-25: initialize, ping, tools/list, tools/call, notifications) to an MCP server the host serves, such as atlibs-code-mode. The output is the JSON-RPC response, or null for a notification. A caller keeps no session: each message stands alone.",
			"input": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": ["jsonrpc"],
					"properties": {
						"jsonrpc": { "type": "string", "const": "2.0" },
						"id": { "type": "unknown", "description": "A string or integer; absent for a notification." },
						"method": { "type": "string" },
						"params": { "type": "unknown" }
					}
				}
			},
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"description": "{ jsonrpc, id, result } or { jsonrpc, id, error: { code, message } }; null for a notification.",
					"properties": {
						"jsonrpc": { "type": "string" },
						"id": { "type": "unknown" },
						"result": { "type": "unknown" },
						"error": { "type": "unknown" }
					}
				}
			}
		}
	}
}