Pdfviewer - WebMcpTool
30 Sep 20261 minute to read
WebMCP Tool Definition Interface
Properties
annotations Object
Optional metadata (readOnlyHint, untrustedContentHint)
description string
Natural language description of functionality
execute Function
Async callback function invoked by agents
inputSchema object
The JSON schema object that defines the expected input parameters for the tool.
name string
Unique identifier for the tool (1-128 chars, alphanumeric, underscore, hyphen, period only)
outputSchema object
The JSON schema object that defines the structure of the tool’s output response.