glean-cli-agents
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseglean agents
glean agents
PREREQUISITE: Readfor auth, global flags, and security rules.../glean-cli/SKILL.md
Manage and run Glean agents. Subcommands: list, get, schemas, run.
bash
glean agents <subcommand> [flags]前置要求: 阅读了解认证方式、全局标志和安全规则。../glean-cli/SKILL.md
管理并运行Glean agents。子命令包括:list、get、schemas、run。
bash
glean agents <subcommand> [flags]Subcommands
子命令
| Subcommand | Description |
|---|---|
| Get details of a specific agent |
| List all available agents |
| Run an agent |
| Get input/output schemas for an agent |
| 子命令 | 描述 |
|---|---|
| 获取特定agent的详细信息 |
| 列出所有可用的agents |
| 运行一个agent |
| 获取agent的输入/输出架构 |
Flags
标志参数
| Flag | Type | Default | Description |
|---|---|---|---|
| boolean | false | |
| string | JSON request body | |
| json | ndjson | text | json |
| 标志 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| 布尔值 | false | |
| 字符串 | JSON请求体 | |
| json | ndjson | text | json |
Examples
示例
bash
glean agents list | jq '.[].id'
glean agents run --json '{"agentId":"my-agent","input":{"query":"test"}}'bash
glean agents list | jq '.[].id'
glean agents run --json '{"agentId":"my-agent","input":{"query":"test"}}'Discovering Commands
命令探索
bash
undefinedbash
undefinedShow machine-readable schema for this command
显示该命令的机器可读架构
glean schema agents
glean schema agents
List all available commands
列出所有可用命令
glean schema | jq '.commands'
undefinedglean schema | jq '.commands'
undefined