Skip to content
GitHub (opens in a new tab)

FAQ · Access rules and approvals

Can I cap how many rows or how much output the AI gets?

Updated

Yes. Each environment's policy sets limits, and an endpoint or a single tool can make them stricter, never looser. The strictest value wins.

The defaults on dev and stage, with prod in parentheses:

  • Row limit for SQL: 1,000 rows (100). sql_query returns 50 rows unless the AI asks for more, up to 1,000 per call.
  • Max response size: 512 KB (256 KB).
  • Log lines per call: 1,000 (200).
  • Tool timeout: 30 s (5 s), and SQL Statement timeout 5,000 ms (3,000 ms).
  • Rate limits: 120 calls a minute per token (60) and 30 a minute per tool (20).

Change them in Policies for each environment, in the endpoint's Settings under Limits, or with Limits next to a tool on Tools & policies. A larger result is cut, and the AI is told to fetch the next page. A call over a rate limit gets an error that says when to retry.

Limits bound each call; within the rate limits, an agent can still make more calls. See truncated results.

All questions

Still have a question?

Ask the GateRook team.

Write to support@gaterook.com about setup, security or anything these answers do not cover. Report bugs and suggest features on GitHub.

Get GateRook

Download GateRook 2.0.0 for your Mac, or get the Windows app from Microsoft Store.

macOS

Version 2.0.0 for Apple Silicon (arm64). This download does not support Intel Macs.

Open the DMG and drag GateRook to Applications.

Windows

Available for free from Microsoft Store. Install GateRook and receive updates through the Store.

macOS release notes and checksums (opens in a new tab)

Optional analytics

Google Analytics measures visits and download clicks. You can turn it off here or change your choice later in Analytics settings.

Analytics is currently on.

Privacy Policy & cookie choices · Google privacy policy (opens in a new tab)