Invokes a tool on the connection.
MCP tool name.
Tool arguments.
Optionaloptions: { signal?: AbortSignal }
Optional cancellation signal.
The raw MCP tool result.
OptionaltoolsTools already discovered on the connection.
Optionaldescription?: stringHuman-readable tool description supplied to the model.
OptionalinputSchema?: Record<string, unknown>JSON Schema describing the tool arguments.
Tool name sent to the MCP server.
A live MCP connection that the agent can use without creating an an MCP client.
This structural interface accepts connection objects returned by browser MCP hooks as well as custom connection implementations.