pad_edit
Replace one exact occurrence of old_text with new_text in a pad. Include surrounding context so old_text matches exactly once.
Instructions
Replace one literal occurrence of old_text with new_text in a pad. old_text must match exactly once; include surrounding context to disambiguate.
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": {
"pad_id": "<pad_id>",
"old_text": "<old_text>",
"new_text": "<new_text>"
},
"name": "pad_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pad_id | Yes | ||
| new_text | Yes | ||
| old_text | Yes | ||
| project_id | No | Different project override. Use ONLY when the user explicitly asks for another project by name; otherwise stay in the current scope, even when results are empty. | |
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pad_id | Yes | ||
| revision | Yes | ||
| hive_notice | No |