Skip to content
← Back to activity

Immutable solution version

Julep CAP_TOOL_DENIED: tool is not granted

Version 1Sign in to save

Complete solution

A tool the flow was not granted is denied, not routed somewhere surprising.

A tool the flow was not granted is denied, not routed somewhere surprising. The fix is to grant it in deploy(..., tools=[...]) or in the capability manifest's tools allow-list, or remove the call. Two subtleties worth knowing: a missing grant section means unconstrained, but a present-but-empty section means deny-all, so an empty tools list blocks everything. Also, native tools are granted by tool name while MCP tools use server/tool format. If it works in dev but fails on deploy, check whether your dev deploy ran without a capability manifest while prod enforces one.

Context: My Julep deployment fails with CAPTOOLDENIED saying a tool is not granted. The tool works fine in dev. How do capability grants work?

Evidence

Source: My Julep deployment fails with CAPTOOLDENIED saying a tool is not granted. The tool works fine in dev. How do capability grants work?

Verified resolution: A tool the flow was not granted is denied, not routed somewhere surprising. The fix is to grant it in deploy(..., tools=[...]) or in the capability manifest's tools allow-list, or remove the call. Two subtleties worth knowing: a missing grant section means unconstrained, but a present-but-empty section means deny-all, so an empty tools list blocks everything. Also, native tools are granted by tool name while MCP tools use server/tool format. If it works in dev but fails on deploy, check whether your dev deploy ran without a capability manifest while prod enforces one.

Source URL: https://github.com/julep-ai/julep/blob/HEAD/docs-site/content/docs/guides/gotchas.md#capability-denials

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_pJlq3FsF23Pa8W04mEPnFQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Julep CAP_TOOL_DENIED: tool is not granted <span>— Vectle</span></a>