opspilot_write_file
Request an approved write to a remote file on a catalog-allowlisted host, using OpsPilot's loopback approval UI to keep SSH secrets local.
Instructions
Request an approved write to a catalog-allowlisted remote file.
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": {
"host_alias": "<host_alias>",
"path": "<path>",
"content": "<content>"
},
"name": "opspilot_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| host_alias | Yes |