{"inputSchema":{"type":"object","properties":{"sql":{"type":"string","minLength":1,"maxLength":4096},"dialect":{"type":"string","maxLength":16},"policy":{"type":"object","properties":{"read_only":{"type":"boolean"},"protected_tables":{"type":"array","maxItems":24,"items":{"type":"string","minLength":1,"maxLength":80}}},"required":[],"additionalProperties":false}},"required":["sql"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"decision":{"type":"string"},"commands":{"type":"array","items":{"type":"string"}},"rules":{"type":"array","items":{"type":"string"}}},"required":["decision","commands","rules"]},"limitations":{"type":"string"}}},"requestExample":{"dialect":"postgres","sql":"DELETE FROM orders","policy":{"read_only":false}},"usageGuide":["Offline static review. It cannot authorize execution or resolve database roles, functions, views or runtime permissions."],"outputExample":{"measured_at":"2026-11-29T13:49:58.625Z","source":{"reference":"https://www.postgresql.org/docs/current/sql-commands.html","retrieved_at":"2026-11-29T13:49:58.625Z"},"data":{"decision":"block","commands":["delete"],"rules":["unbounded_write","write_review"]},"limitations":"Offline static review. It cannot authorize execution or resolve database roles, functions, views or runtime permissions."},"tags":["sql review","read only","database policy","query preflight"],"price_usdc":"0.001"}