List connections
list_connectionsUse this when the user asks what is connected or how to connect data, or when you need a connection_id because the user has several data sources. Not needed before asking: with one data source, ask_question uses it. Lists the user's Odoo, PostgreSQL and MySQL connections with their connection_id, workspace and an access state:
ready: questions can be asked.
not_mapped (Odoo Bridge only): a workspace owner or admin must link the user's STYD account to an Odoo user first. Odoo API-key connections need no linking.
not_ready: the connection's setup is not finished. When nothing of the user's own is connected, the result says how to connect it. Uses no prompt.
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": "list_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Optional. Only list this workspace's connections (a workspace_id from list_workspaces or an earlier result). |