Skip to content

docs: add Wait tool documentation to CLI reference - #371

Merged
edenreich merged 1 commit into
mainfrom
fix/issue-369
Jul 9, 2026
Merged

edenreich merged 1 commit into
mainfrom
fix/issue-369

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Resolves #369

Summary

Add documentation for the new Wait tool (shipped in inference-gateway/cli#792) to the CLI reference page. The Wait tool lets the LLM block inside a single tool execution until a condition is met - shells exit, a file event occurs, or a check command succeeds - then return once with the outcome, costing zero chat completions.

Changes

  • Added Wait to the Tool Categories table under Command Execution
  • Added full Wait tool documentation section with:
    • Overview, approval status, and configuration defaults
    • Return value structure and cancellation behavior
    • Three condition types: Shells, File, and Command - each with parameters, behavior, and use cases
    • Configuration YAML example
    • Usage examples for all three conditions

Document the new Wait tool added in inference-gateway/cli#792, which lets the LLM block until a condition is met (shells exit, file event, or check command succeeds) without costing LLM round-trips.

Covers all three conditions (shells, file, command), configuration options, return values, cancellation, and usage examples.
@edenreich
edenreich marked this pull request as ready for review July 9, 2026 15:36
@edenreich
edenreich requested a review from a team as a code owner July 9, 2026 15:36
@edenreich
edenreich merged commit 8018c50 into main Jul 9, 2026
1 check passed
@edenreich
edenreich deleted the fix/issue-369 branch July 9, 2026 15:36
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 9, 2026
## [0.9.0](0.8.0...0.9.0) (2026-07-09)

### ✨ Features

* generate ADK provider tables from the schema ([#347](#347)) ([aece944](aece944)), closes [#346](#346)

### 👷 CI

* **claude:** centralize claude.yml via reusable workflow ([#372](#372)) ([9a41158](9a41158))
* **infer:** centralize infer.yml via reusable workflow ([#367](#367)) ([47d5fb2](47d5fb2))
* **infer:** centralize infer.yml via reusable workflow ([#368](#368)) ([305d621](305d621))

### 📚 Documentation

* add Wait tool documentation to CLI reference ([#371](#371)) ([8018c50](8018c50)), references [inference-gateway/cli#792](inference-gateway/cli#792)
* add Z-AI provider documentation ([#363](#363)) ([3c3db53](3c3db53))
* document agent.skills.max_chars, line-boundary truncation, and date-only system prompt ([#359](#359)) ([73d49b5](73d49b5))
* document infer chat --session-id flag ([#351](#351)) ([d6b3cf6](d6b3cf6))
* document infer-action system prompt override semantics ([#357](#357)) ([58c8bc4](58c8bc4))
* **github-action:** add zai-api-key input to the inputs table ([#366](#366)) ([a129831](a129831))
* remove Claude Code subscription mode documentation ([#374](#374)) ([442a9fa](442a9fa)), references [inference-gateway/cli#812](inference-gateway/cli#812)
* **rust-adk:** add NVIDIA provider to Rust ADK docs ([#345](#345)) ([a329e43](a329e43)), references [#347](#347)
* update memory documentation for per-project fact organization and entry caps ([#350](#350)) ([8dca0cd](8dca0cd)), closes [#348](#348)

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.197 -> 2.1.201 ([#353](#353)) ([5f714de](5f714de))
* **deps:** bump claude-code-action v1.0.165 -> v1.0.169 ([#370](#370)) ([293e9b8](293e9b8))
* **deps:** bump infer CLI v0.130.1 -> v0.133.0, infer-action v0.24.0 -> v0.26.0 ([#354](#354)) ([824a288](824a288))
* **deps:** bump infer CLI v0.133.0 -> v0.133.1, infer-action v0.27.0 -> v0.27.1 ([#360](#360)) ([03ec147](03ec147))
* **deps:** bump infer CLI v0.133.1 -> v0.137.0, infer-action v0.27.1 -> v0.29.0 ([#361](#361)) ([e7bec3e](e7bec3e))
* **deps:** bump infer CLI v0.137.0 -> v0.138.0, infer-action v0.29.0 -> v0.30.1 ([#365](#365)) ([02be4c8](02be4c8))
* **deps:** bump infer CLI v0.138.0 -> v0.140.1 ([#375](#375)) ([2fd4097](2fd4097))
* **deps:** bump infer-action v0.26.0 -> v0.26.1 ([#356](#356)) ([17f74f8](17f74f8))
* **deps:** bump infer-action v0.26.1 -> v0.27.0 ([#358](#358)) ([89c944b](89c944b))
* enable debug mode in infer.yml workflow ([9e373c6](9e373c6))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Add Wait tool documentation

1 participant