Files
baserow/docs/development
Davide Silvestri 68f8fed4c2 feat(agent): show tool inputs and why tool calls failed (#6631)
* feat(agent): show tool inputs and name known targets of failed calls

Moved out of the tool activity layer so the approvals layer can decide how long input values are kept.

* refactor(agent): drop duplicate checks on step resources and input previews

* refactor(agent): drop failed-call targets and row input previews

Failed calls show only the error, the input preview is a single size
check on the stored JSON, and row writes keep no preview because their
values can include passwords. Both are tracked in #6626.

* feat(tools): report database tool errors in one format

Every error has a code, a message written for people and an optional hint
for the model. Batch tools list failed items in errors, set changed, and
set error only when nothing was changed. MCP gets the hint after the
message.

* fix(assistant): read the shared tools' new error format

Formula repair finds invalid formulas by code and rechecks the outcome
after repairing. A repair that fails for another reason reports the real
cause. Hints reach Kuma as next steps.

* feat(agent): keep only tool calls that did something

A failed call shows the reason, a call that changed nothing is skipped,
a partly done call lists what failed, and a retry of a failed call
continues its card.

* feat(agent): show failure reasons and partial results in tool cards

* style(mcp): format the server test

* fix(tools): log unexpected errors and keep their text out of messages

Built-in errors are unexpected again: logged, with the generic message.
Tools raise ToolInputError with a message for people and a hint for the
model where they mean a user error, including linking to a table in
another database. create_views no longer turns any exception into a
message.

* fix(agent): give every tool call its own card

A result ends only its own call's card: no retry continues an earlier
card. Step text, reply text and streamed text are cleaned of characters
PostgreSQL can't store. The partial status is visible.
2026-11-09 22:49:21 +01:00
..
2026-06-09 15:41:31 +00:00
2025-10-08 09:13:38 +02:00