F+Foldkit Plus
HomeLearnPackagesComponentsDemosGitHub ↗

Agent

Guides

foldkit-agent

  • Overview
  • Usage
  • API
  • Why the API looks like this
  • See also

foldkit-agent-mcp

  • Overview
  • Sixty seconds: serve a bound runtime
  • Protocol errors vs application refusals
  • Streamable HTTP
  • HTTP identity and sessions

foldkit-agent-webmcp

  • Overview
  • Sixty seconds: publish a bound runtime
  • What a capability becomes
  • Tools follow the Model
  • Forms as declarative tools
  • Registration lifecycle

foldkit-agent-a2a

  • Overview
  • Sixty seconds: card + task handler
  • Tasks and completion

foldkit-agent-native

  • Overview
  • Sixty seconds: generate actions
  • What a capability becomes
  • Runtime and identity
  • Schema bridge
  • Compatibility proof
  • Limits

Expose, do not reimplement

  • Overview
  • The mental model
  • Why have a contract at all?
  • A small end-to-end example
  • What an agent may see: context and resources
  • What an agent may do: expose Messages
  • Dispatch is not always completion
  • Availability and authorization are different questions
  • Bind once, serve several protocols
  • How this relates to Surface
  • When not to use this
  • Choosing what to read next

API

foldkit-agent

  • foldkit-agent

foldkit-agent-mcp

  • foldkit-agent-mcp

foldkit-agent-webmcp

  • foldkit-agent-webmcp

foldkit-agent-a2a

  • foldkit-agent-a2a

foldkit-agent-native

  • foldkit-agent-native

Open source, MIT
Foldkit 0.168 · Effect 4

Agent / foldkit-agent-webmcp

RegisterToolOptions

interface · packages/agent-webmcp/src/webmcp.ts:35

interface RegisterToolOptions {
  readonly signal?: AbortSignal | undefined
}

Options accepted alongside a tool registration.

The registration signal belongs here, not on the descriptor: aborting it is how the documented API unregisters a tool.

Members

RegisterToolOptions.signal#

property · packages/agent-webmcp/src/webmcp.ts:36

readonly signal?: AbortSignal | undefined
Previousfoldkit-agent-webmcp

On this page

  • signal

Edit on GitHub ↗

This site is a Foldkit Plus application, rendered at build time with foldkit-ssr. Its source

FoldkitEffectGitHub