Upload text file
ris_upload_fileUploads text files into approved project subdirectories (src/, data/, configs/, sbatch/, envs/, manifests/) for RISBridge MCP, blocking overwrites unless overwrite=true and rejecting binary content.
Instructions
Write a text file into a safe project subdirectory (src/ data/ configs/ sbatch/ envs/ manifests/). Refuses overwrite unless overwrite=true. Binary content is not supported.
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": {
"project": "<project>",
"relPath": "<relPath>",
"content": "<content>"
},
"name": "ris_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| profile | No | Named profile from ~/.risbridge-mcp/config.json. Omit for the default. | |
| project | Yes | Project name; becomes one directory under the storage workspace. | |
| relPath | Yes | ||
| overwrite | No |