Agent / API

foldkit-agent-webmcp

foldkit-agent-webmcp -- the browser-native adapter for foldkit-agent.

WebMCP runs in the page itself, so an exposed Message becomes a tool whose execute dispatches directly into the same live Foldkit Runtime the human is already using. No DOM automation, and no external browser-session bridge.

Namespaces

Interfaces

ModelContextThe producer surface exposed on document.modelContext.
RegisterToolOptionsOptions accepted alongside a tool registration.
ToolDescriptorA tool registration as accepted by document.modelContext.registerTool.
ToolExecutionContextMetadata passed to a tool's execute function.
ToolResultThe value a WebMCP tool returns.