Return files in a tool result
return_filesReturns files as embedded text, blob, resource_link, image and audio blocks in one result to reveal which file-handling features a client accepts or drops.
Instructions
Return one tool result containing every way MCP can hand a file to a client: an embedded text resource (CSV), embedded blob resources (PNG and PDF), a resource_link (fetched via resources/read), an image block and an audio block (WAV). The first text block lists them, so you can see which ones the client dropped.
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": "return_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||