Skip to content

docs: add Custom Tool Capability Recipe to KOTLIN_API.md - #32

Open
ashish-babu-03 wants to merge 1 commit into
morning-verlu:mainfrom
ashish-babu-03:main
Open

docs: add Custom Tool Capability Recipe to KOTLIN_API.md#32
ashish-babu-03 wants to merge 1 commit into
morning-verlu:mainfrom
ashish-babu-03:main

Conversation

@ashish-babu-03

Copy link
Copy Markdown

Closes #14

Adds a short recipe to docs/KOTLIN_API.md showing how to wire a custom
tool behind a ToolCapabilityGrant, as requested in #14.

What's included

  • New ## Custom Tool Capability Recipe section
  • A compact, deterministic Kotlin snippet (no keys, no network calls)
  • Bullets explaining tool, permission, and limits.maxCalls as the
    syscall/capability boundary, not open tool access
  • A link back to examples/kotlin-runtime-api for the full runnable example

Verification

./scripts/repository-ci-smoke.sh fails on Windows (MINGW64) with 25
KaiosCliSmokeTest failures (mostly java.nio.file.InvalidPathException),
but this is pre-existing on a clean main and unrelated to this change —
confirmed via git stash / re-run / git stash pop, same 25 tests fail
identically with this change removed. This PR only touches
docs/KOTLIN_API.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Good first issue]: Add a Kotlin API recipe for custom tool capabilities

1 participant