Deedglass
v0.15.0Deedglass lets rules decide each AI agent tool call, checks what really changed and seals a record.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
postgres_call Call
Call an allow-listed function with named arguments: public.ship_order(bigint): Mark a paid order shipped.
| Parameter | Type | Description |
|---|---|---|
function * | string | An allow-listed function. |
args | object | The function's named arguments. |
postgres_describe Describe
List the tables the agent can read: columns, types, primary keys, row estimates, and which tables are writable and watched.
| Parameter | Type | Description |
|---|---|---|
schema | string | Only this schema. |
table | string | Only this table. |
postgres_execute Execute
Run one INSERT, UPDATE, DELETE or MERGE in a transaction Deedglass controls, as a least-privilege role. Writable tables: public.orders, public.refunds.
| Parameter | Type | Description |
|---|---|---|
sql * | string | One INSERT, UPDATE, DELETE or MERGE. Use $1, $2 … for values. |
params | array | Values for $1, $2 …: strings, integers, booleans or null; at most 100. |
postgres_query Query
Run one read-only SQL statement against public and get up to 500 rows back. Read-only: it never commits.
| Parameter | Type | Description |
|---|---|---|
sql * | string | One read-only SQL statement (SELECT). Use $1, $2 … for values. |
limit | integer | Return at most this many rows (default and maximum 500). |
params | array | Values for $1, $2 …: strings, integers, booleans or null; at most 100. |
deedglass_check_approval Check a Deedglass approval
Checks whether a person has countersigned an action that Deedglass paused for approval. Call it with the approval_id from a 'Waiting for approval' message. It waits up to wait_seconds (0 to 20, default 10) for the decision, so one call is usually enough. If it was approved, Deedglass runs the original tool call and returns its result. Nothing runs while the approval is pending.
| Parameter | Type | Description |
|---|---|---|
approval_id * | string | The approval id, for example apr_01j9zs4k7m2n3p5q6r7s8t9v0w |
wait_seconds | integer | How long to wait for a person's decision before answering, in seconds. |