Outcome reference

Outside what any grant allows. The most common refusal.

Refused by policy MCP sends it with isError: true.

What it means

The most common refusal. No live grant covers this request: no grant for the credential, the intent is not on it, the host, path, method, command or argv is outside it, the session's project is outside the grant's, or the request itself is malformed for the intent. The answer does not say which, so it cannot be used to probe grants.

What the agent should do

Call request_access for the credential and the intent. A person must approve it. If they say no, do not ask again: stop and tell them what you cannot do.

For an intent that request_access cannot ask for (cli_login, sign_in, fill_totp and the rest): Asking for this from the agent is not built yet. Stop and tell the person, who can grant it with bpw grant add.

What the person should do

If the agent should have this access, approve its request or add a grant with bpw grant add. The daemon's log says what was refused.

Which intents return it

Status: change_password is planned, not built yet; rotate is partly built; capture_secret is planned, not built yet.

Status: change_password is planned, not built yet; rotate is partly built; capture_secret is planned, not built yet.

How it looks

{
  "structuredContent": {
    "outcome": "scope_denied"
  },
  "isError": true
}

Intent-specific fields come alongside it when the intent has them.