Agent / foldkit-agent-webmcp

What a capability becomes

Each currently available capability becomes one WebMCP tool:

foldkit-agent                    WebMCP

capability name          ->      tool name
variant description      ->      description
encoded input Schema     ->      inputSchema
AgentRuntime dispatch    ->      execute
completion contract      ->      resolved tool outcome

No input schema or handler is written again. execute delegates to the bound runtime, which performs the same decode, availability check, authorization, dispatch, cancellation, and completion handling as every other adapter.

A capability with a completion contract resolves when its correlated success or failure Message is observed. Without one, validated dispatch is the completion boundary.