Spec-Zone.ru › Angular

WebMcpToolDescriptor

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

API

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

name

string

The unique name of this tool.

description

string | undefined

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.

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/WebMcpToolDescriptor

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API