WriteResource
Stores text as a transfer, script, or checkpoint resource for later retrieval by URI, enabling temporary data, JavaScript, or saved results to be reused.
Instructions
[read-only] Writes text to a resource for later retrieval by URI.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "WriteResource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Use transfer for temporary data, script for JavaScript, or checkpoint for saved results. | transfer |
| text | Yes | The text to store. | |
| mime_type | No | The MIME type of the text. |