[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/core/WebMcpToolDescriptor [Back]  [Original]

WebMcpToolDescriptor Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/core

WebMcpToolDescriptor

interface

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

On this page

    arrow_upward_alt Back to the top

    API

        
          interface WebMcpToolDescriptor<InputSchema extends JsonSchemaForInference> {  name: string;  description: string;  inputSchema: InputSchema;  execute: Execute<InputSchema>;}
        
        

    name

    string

    The unique name of this tool.

    description

    string

    A description of what the tool does and how the agent should consider using it.

    inputSchema

    InputSchema

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

    execute

    Execute<InputSchema>

    The callback function which implements this tool.

    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page