klone_put_file
Create or overwrite files on klone with exact content via SSH. Use for SLURM scripts, config files, or small data files without shell interpretation.
Instructions
Create or overwrite a file on klone with the given content.
Content is piped via SSH stdin, so size is unlimited (no ARG_MAX
boundary) and shell metacharacters in content are not interpreted.
Use this for writing SLURM scripts, config files, small data files —
anything where you want exact bytes written verbatim. For very large
data files, use rsync or scp from the calling machine instead.
If you're writing a SLURM script, read klone://help/jobs first
for the partition catalog and klone://help/checkpoint if you're
planning to use ckpt-all (preemption handling is required).
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": {
"path": "<path>",
"content": "<content>"
},
"name": "klone_put_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |