schedule_update
Change a schedule. Applies to the next runs only; notes already issued do not change. Send only what changes. Changing frequency or first_date recomputes the next run.
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": {
"schedule_id": "<schedule_id>"
},
"name": "schedule_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nfe | No | Only for an NF-e schedule (type "nfe"): the NF-e fields to change, such as items, payments, recipient or additionalInfo. Each field sent replaces the stored one as a whole (send the full items list, not one item). The company cannot change. The other note fields below are for NFS-e schedules. | |
| notes | No | Free text printed on the next notes. Send an empty text to remove it. | |
| amount | No | New total in BRL | |
| ends_on | No | YYYY-MM-DD last day, or null to run until paused or cancelled | |
| customer | No | Novo tomador das próximas notas. | |
| discount | No | Novo desconto incondicionado em reais. | |
| deduction | No | Nova dedução da base do ISS em reais. | |
| frequency | No | Repetição: WEEKLY (semanal), BIWEEKLY (quinzenal) ou MONTHLY (mensal). | |
| first_date | No | YYYY-MM-DD the count of runs starts from | |
| send_email | No | true para mandar cada nota por e-mail ao tomador. | |
| description | No | Nova descrição do serviço. | |
| schedule_id | Yes | UUID of the schedule | |
| service_code | No | Código de serviço cTribNac com 6 dígitos, ex.: "010101". | |
| purchase_order | No | Purchase order printed on the next notes. Send an empty text to remove it. | |
| municipality_code | No | Código IBGE do município com 7 dígitos, ex.: "2304400". |