Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ declare namespace WebMCP {
*/
description: string;
/**
* A stringified JSON Schema object describing the expected input parameters for the tool.
* A JSON Schema object describing the expected input parameters for the tool.
* It is a deep copy of the schema provided at tool registration, via `ModelContextTool.inputSchema`.
*/
inputSchema?: string;
inputSchema?: object;
/**
* The Window of the document that registered the tool.
*/
Expand Down