Goal
Add a short recipe to docs/KOTLIN_API.md that shows how a Kotlin/JVM user can define or wire a custom tool behind a ToolCapabilityGrant.
Why this helps
KAI OS is trying to be legible as an embeddable Agent OS runtime, not only a CLI. A small recipe makes the syscall/capability model easier for Kotlin developers to understand.
Suggested scope
- Add a compact section to
docs/KOTLIN_API.md.
- Keep the example deterministic and no-key.
- Link to
examples/kotlin-runtime-api if the recipe builds on the existing example.
- Avoid adding a new provider or network dependency.
Acceptance
docs/KOTLIN_API.md explains the custom-tool/capability path in under one screen.
- Existing commands still pass:
./scripts/repository-ci-smoke.sh
A docs-only PR is welcome.
Goal
Add a short recipe to
docs/KOTLIN_API.mdthat shows how a Kotlin/JVM user can define or wire a custom tool behind aToolCapabilityGrant.Why this helps
KAI OS is trying to be legible as an embeddable Agent OS runtime, not only a CLI. A small recipe makes the syscall/capability model easier for Kotlin developers to understand.
Suggested scope
docs/KOTLIN_API.md.examples/kotlin-runtime-apiif the recipe builds on the existing example.Acceptance
docs/KOTLIN_API.mdexplains the custom-tool/capability path in under one screen.A docs-only PR is welcome.