data_app
SHOW a table to the user: draws its rows INLINE in the conversation, in the app's own table look (typed cells, select colours, links). READ-ONLY.
Use it whenever the user wants to SEE or browse a table's content; then answer
in text. WITHOUT datastore = the list of your tables. To read rows yourself,
use data_rows — this view gives you only a one-line summary.
CHOOSE the columns: pass fields with only those that matter for the question
(in the order to show them) — most tables have more columns than a reader
needs. Omitted = the declared columns, in schema order. Keep limit small:
the user scrolls and asks for more; the default (25) is usually right.
Sort, filter and search are arguments, same grammar as data_rows: call again
to change them. Next page = the next_cursor of the previous call, with the
SAME order_by/q (a cursor never crosses from one to the other).
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_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | free-text search, as in `data_rows`. | |
| row | No | show ONE record — matched against `_id`, the declared business key, or the title field value, among the rows `filter`/`q` select. | |
| _org | No | Org (id) de CET APPEL. `oto_list_orgs()`. | |
| limit | No | rows shown (default 25, max 200). | |
| _group | No | Équipe (id) de CET APPEL, sous son org parente. | |
| cursor | No | `next_cursor` of the previous call, for the next page. | |
| fields | No | the columns to show, in order; omit = the declared ones. | |
| filter | No | `{column: value}` or `{column: {op: value}}`, as in `data_rows`. | |
| _run_id | No | OBLIGATOIRE à chaque appel dès `run_start` ou `data_claim_next` : sans lui, l'écriture sur une ligne réservée est refusée. Hérité seulement si le serveur tient un run actif — n'y compte pas. | |
| _project | No | Projet (id) de CET APPEL — jeton PRIMAIRE. `oto_project(op='list')`. | |
| order_by | No | sort column (user or `_created_at`/`_updated_at`). | |
| datastore | No | the table's NUMBER (`ns_id`), or `slot:<name>`; omit = list your tables. | |
| order_dir | No | `desc` (default) or `asc`. | desc |
| show_meta | No | also show `_id`/`_created_at`/`_updated_at`. |