See this connection's own access and limits
access_get returns what this connection can do for the buyer. If it can send requests to dealerships, the answer also gives its own daily limit and how much of it is used today.
Who can use it
Any connected assistant. It needs no extra permission and shows nothing about dealerships or prices. It names the Ridekick account it is connected to, with the first name and a masked email on the account. Say them only to the buyer, in this chat. Never put them in a request or in a message to a dealership. It is listed only where it is turned on. Sign in with OAuth. See Authentication.
Arguments
This tool takes no arguments.
What it returns
The connection's access and limits, and connectedAccount: the account's firstName and its maskedEmail (for example m•••@example.com). Each is null when the account has none or it could not be read. It never holds the full email, a surname or a phone number. A count of null means it could not be read: say you could not check, and do not guess. A class or client limit may refuse sooner than the per-connection daily limit shown. When a limit is reached, stop and tell the buyer.
Errors
Errors return isError: true and an error.code. See Errors. A missing, expired or revoked token, or an account without access, gets JSON-RPC error -32001.
Example
A tools/call request to https://www.ridekick.com/api/mcp:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "access_get",
"arguments": {}
}
}Related
Last updated