List bank accounts
Bank accounts and credit cards you can record payments in or out of.
MCP tool myob_read → list_bank_accounts
read
Returns the accounts MYOB offers in the Bank account field when you record a payment, with the account code to pass as bank_account. Use it so a payment is never recorded into a guessed account.
Parameters
No parameters.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "myob_read",
"arguments": {
"operation": "list_bank_accounts",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"bank_accounts": [
{
"bank_account": "1-1110",
"name": "Business Cheque Account",
"type": "bank"
},
{
"bank_account": "1-1120",
"name": "Company Visa",
"type": "credit_card"
}
]
},
"isError": false
}