Execute a registered tool with timeout protection.
The name of the tool to execute
Parameters to pass to the tool handler
OptionaltimeoutMs: numberMaximum execution time in ms (default: 30s)
The tool result, or a timeout/not-found error result
Get all registered tool definitions.
Get a tool definition by name.
The tool name to look up
The tool definition, or undefined if not found
Register a client-side tool.
The tool definition to register
Unregister a client-side tool.
The name of the tool to unregister
Registry for client-side tools that agents can invoke.
Tools are registered by the client application and can be executed when the agent sends a ClientToolRequest over the transport.