List accounts

The chart of accounts: account numbers and names you can book on.

MCP tool bokio_read → list_accounts

read

Returns the accounts of the company's chart of accounts with number and name. Bokio's API only books on accounts it supports, and a journal entry with another account is rejected, so check here first.

Parameters

Parameters: list_accounts
NameTypeDescription
search string string Part of the account number or name.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "bokio_read",
    "arguments": {
      "operation": "list_accounts",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "accounts": [
      {
        "account": "1930",
        "name": "Företagskonto"
      },
      {
        "account": "5010",
        "name": "Lokalhyra"
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.