用途:connectors execute 是 Airbyte Agent CLI 中实际读写连接器数据的核心命令,对指定连接器上的实体执行动作。
主要能力:支持 context_store_search(默认读取方式,支持过滤、排序、分页)、list(实时读取源数据)、get(按 ID 取单条)、api_search(提供方原生搜索)、create、update。响应结构为 {data, meta:{has_more}},get 直接返回实体。
使用方式:需先安装 CLI:brew install airbytehq/tap/airbyte-agent。调用时始终传单个 JSON 载荷:airbyte-agent connectors execute --json '{...}',其中 name(或 id)、entity、action 必填,workspace 默认 default。复杂载荷可用 --json @path/to/file.json。字段选择为强制项,必须提供 select_fields 或 exclude_fields,支持点号嵌套字段;两者同时存在时 select_fields 优先。
调用前应先运行 airbyte-agent connectors describe --json '{