Data API базы: методы и доступ
data_api_methodsThe database's REST and RPC methods with an access level per HTTP method.
The level says who may call the method: closed, visitor (any site
visitor), user (signed-in people), server (the server only). It is read
from the role grants in force in the database itself — exactly as the
gateway sees them. `warnings` names what is unsafe or not working: a
table without RLS open to visitors, a grant that does not work without
USAGE on its schema — report them to the person.
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": "data_api_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | The database: name, slug or id. Without it — the organization's only database with the Data API enabled. | |
| organization | No | Organization slug. Without it — the only one, or the personal one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | No | ||
| database | Yes | ||
| warnings | No | ||
| functions | No | ||
| next_action | Yes | ||
| organization | Yes |