立即开始
Grist Tools

Grist Run Sql Query

通过 Aident Loadout 使用 Grist Tools 的 Grist Run Sql Query。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Tool to execute a read-only SQL SELECT query on a Grist document. Use after confirming the document ID and preparing a valid SQL SELECT statement.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • sqlstring
    必填
    SQL SELECT statement to execute. Must be a single read-only SELECT (no INSERT/UPDATE/DELETE). Do not include trailing semicolon. WITH clauses and parameterized queries (using '?' placeholders) are supported.
  • argsarray
    Positional parameters to substitute for '?' placeholders in the SQL statement. Provide values in order matching the placeholders.
  • docIdstring
    必填
    Document ID of the Grist document to query. Obtain this via GRIST_LIST_WORKSPACES or from the document URL.
  • timeoutinteger
    Maximum execution time in milliseconds. Default is 1000ms. Can only be reduced from the default, not increased.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源