Upsert agent instructions file
pc_put_agents_by_id_instructions_bundle_fileUpdate or create an agent's instructions bundle file to set custom behavior via content and path, with optional legacy prompt clearing.
Instructions
Upsert agent instructions file
Paperclip operation: PUT /api/agents/{id}/instructions-bundle/file. Authorization class: board_or_agent.
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>",
"body": "<body>"
},
"name": "pc_put_agents_by_id_instructions_bundle_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| headers | Yes | ||
| encoding | Yes | ||
| status_code | Yes | ||
| content_type | Yes |