kdeps-tools-approval_request
v1.2.0Request a one-time permission exception from the user. Use when a tool call is blocked by permission mode and you need user approval. Returns a token ID; tell the user to grant it with approval_grant on the kdeps API, then retry the call once they have. You cannot grant it yourself.
set tools / shelf guardrails
LLM context: ~131 tokens when loaded (prompt or tool definition)
Where it runs
Part of the tools set, used in workflow and agent mode. What the model is told about each built-in tool: its description, usage notes and parameters. kdeps runs the tool itself.
- the agent loop builds the request
- the tool definitions are sent to the modeltools/approval_request
- the model calls a tool
- kdeps runs it
- the result goes back to the model
Loaded by: kdeps (agent loop), kdeps new, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update, kdeps upgrade
In the code: kdeps (agent loop)executor.(*Engine).Executeparallel.Runjudge.Panelagent.runJudgePanelagent.definedAs
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Pin a version with kdeps install tools/approval_request@<version>.
Contents
Request a one-time permission exception from the user. Use when a tool call is blocked by permission mode and you need user approval. Returns a token ID; tell the user to grant it with approval_grant on the kdeps API, then retry the call once they have. You cannot grant it yourself.
| Parameter | Type | Description |
|---|---|---|
| action * | string | The specific action that was blocked |
| tool_name * | string | The tool name that needs the exception (e.g. 'bash_exec') |
version: 1.2.0
description: "Request a one-time permission exception from the user. Use when a tool call is blocked by permission mode and you need user approval. Returns a token ID; tell the user to grant it with approval_grant on the kdeps API, then retry the call once they have. You cannot grant it yourself."
parameters:
action:
type: string
description: The specific action that was blocked
required: true
tool_name:
type: string
description: The tool name that needs the exception (e.g. 'bash_exec')
required: true
Versions
| Version | Published | Status | Source |
|---|---|---|---|
| 1.0.0 | 11/21/2026 | active | GitHub v1.0.0 |
| 1.1.0 | 11/21/2026 | active | GitHub v1.1.0 |
| 1.2.0 | 11/21/2026 | active | GitHub v1.2.0 |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.2.0
- Published
- 11/21/2026