Files
spring-ai/mcp-server/output/04-get-prompt-summarize-order.txt

14 lines
622 B
Plaintext

# POST /mcp -- prompts/get summarize_order
Request:
{"jsonrpc":"2.0","id":5,"method":"prompts/get","params":{"name":"summarize_order","arguments":{"orderId":"ORD-1002"}}}
Response (200):
id:59682b84-e49c-42d2-908e-a8105aa31514
event:message
data:{"jsonrpc":"2.0","id":5,"result":{"messages":[{"role":"assistant","content":{"type":"text","text":"Call the lookup_order tool for order ORD-1002, then write a single short paragraph a customer support agent could paste into a reply: state the order status in plain language, list the items, and mention the total. Do not invent any detail the tool did not return."}}]}}