Loading...
Loading...
Chat with Glean Assistant from the command line. Use when asking questions, summarizing documents, or getting AI-powered answers about company knowledge.
npx skill4agent add gleanwork/glean-cli glean-chatPREREQUISITE: Readfor auth, global flags, and security rules.../glean-shared/SKILL.md
glean chat [flags]| Flag | Type | Default | Description |
|---|---|---|---|
| boolean | false | Print request body without sending |
| string | Complete JSON chat request body (overrides individual flags) | |
| string | Chat message (positional arg) (required) | |
| boolean | true | Save the chat session |
| integer | 30000 | Request timeout in milliseconds |
glean chat "What are the company holidays?"
glean chat --json '{"messages":[{"author":"USER","messageType":"CONTENT","fragments":[{"text":"What is Glean?"}]}]}'# Show machine-readable schema for this command
glean schema chat
# List all available commands
glean schema | jq '.commands'