Files
baserow/docs/development
Davide Silvestri 058bca8274 feat(agent): show readable requests for the database tools (#6651)
* feat(agent): name a tool request as the Agent before the call runs

Before a change tool runs, its request is resolved into names with the
Agent's permissions. If a name can't be resolved, the call fails and
nothing runs. Values of password fields are masked, and lists are cut to
10 items of 10 keys.

* feat(agent): show readable requests for the database tools

Change tools show the tables, fields, views and rows they work on by
name, rows by their primary value. Card titles use the requested table.

* fix(agent): let the tool, not the preview, decide whether a call runs

Fields, rows and tables the Agent identity can't name keep their IDs in
the readable request, and a preview that can't be built is left out, so
delete_fields and update_fields fail per item again and a table without
a primary field can still be changed.

* fix(agent): never show an oversized request as an empty list

A request whose single item can't be stored keeps its names without
the list. Row deletions no longer dedupe IDs, which the row handler
rejects anyway.

* fix(agent): show a call's readable request while it runs

The tool sends its named request to the running step through a
pydantic-ai custom event before it changes anything, so a stopped call
or one whose worker died still shows what it asked for.
2026-11-10 13:58:00 +01:00
..
2026-06-09 15:41:31 +00:00
2025-10-08 09:13:38 +02:00