• Overview
@angular/core

WebMcpToolDescriptor

interface

Describes and implements a specific WebMCP tool for an agent to invoke.

API

    
      interface WebMcpToolDescriptor<InputSchema extends object = object> extends Omit<  ModelContextTool,  'execute'> {}
    
    

inputSchema

InputSchema | undefined

A schema which describes the input arguments expected by the execute function which the agent must provide.

execute

ModelContextToolFromSchema<InputSchema>

The callback function which implements this tool.

Jump to details