set_abaninja_credentials
Connect the tenant's AbaNinja account. Required: token (API token from Settings > Company > API Tokens), account_uuid (from Account Information). The connection is tested BEFORE anything is stored, and the real status is what gets saved — an unreachable account is recorded as unreachable, never as working. The token is write-only; no tool result ever returns it. Use this once per tenant before any other abaninja tool.
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": {
"token": "<token>",
"account_uuid": "<account_uuid>"
},
"name": "set_abaninja_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | AbaNinja API token (sent as Authorization: Bearer). | |
| base_url | No | Only for testing; defaults to https://api.abaninja.ch | |
| account_uuid | Yes | The account UUID; it is part of every API path. |