cloud_pod_write_file
Create or overwrite a text file in one of your Agent Pods, including a Coding sandbox (up to 256 KB per file, 128 KB per request). Needs a key with full pod control (pods:control:write).
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": {
"computeApiKey": "<computeApiKey>",
"podId": "<podId>",
"path": "<path>",
"content": "<content>"
},
"name": "cloud_pod_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path, relative to the pod workspace or absolute inside it | |
| podId | Yes | Agent Pod id (uuid) | |
| content | Yes | Full file content | |
| computeApiKey | Yes | Singularity Cloud API key with full pod control (pods:control:write). Pod keys cannot use the sandbox. |