WebMcpToolExecute
The execute function of a WebMCP tool. Takes in arguments matching the associated inputSchema and returns content for the agent. The returned result is typically a string.
API
type WebMcpToolExecute<InputSchema extends JsonSchemaForInference> = ( args: InferArgsFromInputSchema<InputSchema>, client: Client, ) => unknown
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/WebMcpToolExecute