CodeBridge
Defined in: mcp-code/src/lib/types.ts:41
The host side of the sandbox’s mantle API. services is the API’s shape (path → method
names) — the executor builds mantle[path][method](...args) inside the sandbox from it and
nothing else. call receives the JSON-decoded positional arguments and resolves with a
JSON-serializable value, or rejects (a MantleError’s toJSON() shape reaches the script).
Extended by
Section titled “Extended by”Properties
Section titled “Properties”services
Section titled “services”services:
Record<string,string[]>
Defined in: mcp-code/src/lib/types.ts:42
Methods
Section titled “Methods”call()
Section titled “call()”call(
path,method,args):Promise<unknown>
Defined in: mcp-code/src/lib/types.ts:43
Parameters
Section titled “Parameters”string
method
Section titled “method”string
unknown[]
Returns
Section titled “Returns”Promise<unknown>