Skip to main content

ModelContextToolResult

The value a WebMCP tool's execute function resolves to.

This is an interface exported by @mapcairn/react, checked against version 0.2.0.

Signature​

import type { ModelContextToolResult } from "@mapcairn/react";

interface ModelContextToolResult

Properties​

content​

content: ModelContextToolContentBlock[];

The blocks the agent receives, in order.

See also​

Source: packages/react/src/hooks/useModelContextTool.ts:15