Write an agent's file
write_agent_fileWrites a file that shapes an agent's job: SOUL.md, objectives.md, now.md, or a file under watch/, notes/ or immune/ in its ~/.hermes. The previous version stays in its history.
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": {
"agent_id": "<agent_id>",
"path": "<path>",
"content": "<content>"
},
"name": "write_agent_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| agent_id | Yes | The agent id, like agt_j8bbg89jv5 (get_account lists them). |