Adapter Details: callable

Callables: functions a principal publishes for others to call. Each runs an operation with its publisher's authority narrowed by fixed caps, whoever calls it, and a gate operation chosen by the publisher decides who may call it.

Name:callable
Class:covia.adapter.callable.CallableAdapter

MCP Tools

This adapter provides 7 MCP tool(s) for AI agent integration:

Tool NameDescription
callable_gates_anyoneA callable gate that admits every caller, the public principal included. Name it as a callable's gate to let anyone call it.
callable_updateChanges a callable in your namespace: its operation, caps, gate or description. What is left out stays as it is; gate: null removes its gate. Calls already running see the new caps at their next action. Needs callable/manage on x/callable/<name> and the authority the callable was created with.
callable_createPublishes a callable in your namespace: a function others can call, which runs operation with your own authority narrowed by caps, whoever calls it, and names in your namespace. Holders of callable/call on it may call it; with a gate, so may anyone that gate operation admits. Pin an operation or gate to one definition by naming it a/<hash>. Needs callable/manage on x/callable/<name>.
callable_callCalls a callable: runs the operation its owner published with the callable's authority, in the owner's namespace, with you as the caller, and returns that operation's output. You may call it if you hold callable/call on it, or if its gate admits you. A callable you may not call is reported as missing.
callable_gates_callersA callable gate that admits a caller acting for a principal listed in callers: that principal, or an agent acting for it up its chain of controllers, such as a listed user's agents. A caller it admits calls only as far as its caps, and those of the agents controlling it, cover callable/call on the callable. Give it callers as an operation default: store an operation {adapter: "callable:gates/callers", default: {callers: [...]}} and name that as the gate, by a/<hash> to keep the list fixed.
callable_listLists the callables in your namespace: each one's name, issuer, operation, caps, gate, description and creation time. Needs crud/read on x/callable.
callable_deleteDeletes a callable in your namespace: it can no longer be called, and work its calls left running acts with nothing. Needs callable/manage on x/callable/<name>.

Navigation

Back to all adapters

Back to index