annotatedMessage
Demonstrates MCP annotation patterns by returning content with metadata annotations for error, success, or debug message types to showcase tool response formatting capabilities.
Instructions
Demonstrates different annotation patterns for MCP tool responses. Returns content with metadata annotations based on the message type.
Args: messageType: Type of message to demonstrate - "error", "success", or "debug" includeImage: Whether to include an example image in the response (default: False)
Returns: Annotated content demonstrating MCP annotation capabilities
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "annotatedMessage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageType | No | success | |
| includeImage | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |