ReadonlydescriptionHuman-readable description shown to the model
ReadonlynameTool name — used as the function identifier in tool calls
ReadonlyparametersJSON Schema describing the tool's expected arguments
Execute the tool with parsed arguments
Called by the agent pool when the model emits a tool call matching this tool's name. The return value is JSON-serialized and prefilled back into the agent's context as a tool result.
Returns an Effection Operation — implement as a generator method. The operation runs inside the agent pool's scope, so it has access to Ctx, Store, and Events contexts for nested agent spawning.
Parsed arguments from the model's tool call
Tool result (will be JSON-serialized)
Fetch a web page and extract readable article content.
Uses the Fetch API with a 10-second timeout, then extracts the article body via linkedom + Readability. Content is truncated to
maxChars(default 6000). PDF URLs are rejected early since binary content cannot be extracted as readable text.