aya_arquivo_substituir_literal
Replace literal text in a file only when the occurrence count is exactly as expected, automatically creating a backup and log.
Instructions
Substitui texto somente quando a contagem de ocorrencias e exatamente a esperada; cria backup e log automaticamente.
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": {
"caminho": "<caminho>",
"procurar": "<procurar>",
"substituir": "<substituir>"
},
"name": "aya_arquivo_substituir_literal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelo | No | modelo-desconhecido | |
| motivo | No | substituicao literal segura | |
| caminho | Yes | ||
| procurar | Yes | ||
| substituir | Yes | ||
| ocorrenciasEsperadas | No |