description: 'Subscribe to change events on a resource or container subtree. Returns an SSE stream of MCP notifications as resources change. WAC-filtered per event.',
inputSchema: {
type: 'object',
properties: {
path: {type: 'string',description: 'Container path (with trailing /) to watch a subtree, or exact resource path. Default: / (whole pod, filtered by Read access).'}
}
},
handler: subscribe
},
call_remote_pod: {
description: 'Invoke an MCP tool on another pod. Caller must have acl:Write on /private/federation/ on this pod. Depth-capped at 3.',
inputSchema: {
type: 'object',
properties: {
pod_url: {type: 'string',description: 'Origin of the remote pod (e.g. https://alice.example.com)'},
tool: {type: 'string',description: 'Tool name to invoke on the remote'},
arguments: {type: 'object',description: 'Arguments to pass to the remote tool'},
auth: {
type: 'object',
description: 'Auth for the remote call. Currently { type: "bearer", token } or { type: "header", name, value }. Omit for anonymous.',
properties: {
type: {type: 'string',enum: ['bearer','header']},
token: {type: 'string'},
name: {type: 'string'},
value: {type: 'string'}
}
}
},
required: ['pod_url','tool']
},
handler: call_remote_pod
}
};
/**
* Return the list of tools in MCP tools/list shape.