Skip to main content

TablesTools

Toolkit that gives an agent access to your Abstra Tables. The agent gets one tool per allowed method (select, insert, update, delete, optionally run_sql), scoped to the tables and default WHERE clause you configure.

Parameters

NameDescriptionTypeDefault
methodAllowed table operations. Either "all" (full CRUD), a single method ("select", "insert", "update", "delete"), or a list of methods. Defaults to "all".Union'all'
tableRestrict access to one or more table names. None allows all tables in the project. Defaults to None.OptionalNone
whereDefault WHERE clause merged into every query. Useful for tenant scoping (e.g. \{"tenant_id": "abc"\}). Defaults to None.OptionalNone
allow_sqlIf True, exposes an extra run_sql tool that accepts arbitrary read-only SQL. Use with caution. Defaults to False.boolFalse