Ler/alterar DataSource H2
config_datasourceReads or updates the JDBC DataSource (url, username, password) in META-INF/context.xml with automatic backup; changing the URL can point to another database.
Instructions
Sem argumentos: lê o DataSource jdbc/pjeCalcDS de META-INF/context.xml. Com argumentos: altera url/username/password (backup automático). ATENÇÃO: mudar a url pode apontar para outro banco.
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_datasource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Nova URL JDBC. | |
| senha | No | Nova senha. | |
| usuario | No | Novo usuário. |