Ler/alterar token dos serviços REST
config_tokenView the current PJe-Calc service token or replace it in both .bat files, with automatic backup, to authenticate /servico/rest/* calls via Authentication: Base64(token).
Instructions
Sem argumentos: mostra o token atual (seguranca.pjecalc.tokenServicos dos .bat). Com novo_token: substitui nos dois .bat (backup automático). O token protege os endpoints /servico/rest/*; o header HTTP é Authentication: Base64(token).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "config_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| novo_token | No | Novo token (opcional). |