AI
Ask the AI about your data
Answers in natural language a question about the data of your account, optionally also searching the web.
ai:askai:ask- 120/min
- May need an add-on
- Server annotation: Open world
- Requires human confirmation
Result
generated from the schema
Requires human confirmation
Put this tool on your client's “ask before running” list. The annotations are hints that the server declares, not guarantees: do not decide the approval from destructiveHint alone.
Server annotation
It spends AI credits of the account and can search the web: a stronger vector for instruction injection than free-text fields. It is annotated as not read-only for that reason.
It NEVER writes anything: the engine runs without a single write tool loaded, and what it can read is bounded by the permission guardrail of the owner of the API key, table by table. It consumes AI credits of the account: without quota it responds 402 addon_required without ever asking the model. It can take tens of seconds on questions that chain several queries; if needsMoreContext comes true, the answer is empty and you should rephrase with more detail instead of retrying the same.
Arguments
Natural-language question about the data of your account. Required.
Limits: min length 1, max length 4000
Also allows web search to answer. Defaults to false: only the data of the account is consulted.
Answer mode. Today only "instant" (a single pass, no conversation). Documented so that future modes are additive.
Result
On success the result carries structuredContent with data and meta. These are the attributes of data.
Show the attributes of data
Answer in markdown. Empty string when needsMoreContext is true.
True when the AI finished without being able to answer and needs more context. In that case answer comes empty: rephrase the question with more detail instead of retrying as is.
Cited web sources. Empty if web search was not requested or if none was used.
Show child attributesHide child attributes
URL of the consulted source.
Source title.
URL of the site favicon, to render the source.
An error is a result with isError: true and the problem in content[0].; there is no structuredContent. See Errors.
Sample prompts
Ask the account: which customers rented the most last quarter?
The same operation by REST
This tool runs POST /api/v1/ai/ask.
Related pages
Link to this section: Related pagesAI
Ask the AI about your data
Answers in natural language a question about the data of your account, optionally also searching the web.
Guides
Safe writes
An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.
Guides
Errors
A tool error is a result with
isError: trueand the problem in the first text block. Branch on itscode.
Was this page helpful?