edit_prompt
Edit an existing prompt by replacing a specific text block with new content. Modify agent instructions or configurations directly.
Instructions
Modifie un prompt existant en remplaçant un bloc de texte spécifique
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": {
"name": "<name>",
"search": "<search>",
"replace": "<replace>"
},
"name": "edit_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Nom du fichier prompt à modifier (ex: 'agent_news') | |
| search | Yes | Le texte exact à rechercher et remplacer | |
| replace | Yes | Le nouveau texte de remplacement |