Skip to content

isWriteRefusedResult

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/api/src/technical-docs/mcp/api-executor.ts

True when a result is the executor's own write refusal (allowWrites off, or a write outside the writeAllowlist) — NOT an upstream 403. Used by the call-logging wrapper to mark blocked

.

Signature

ts
function isWriteRefusedResult(r: { status: number; statusText: string }): boolean

Parameters

NameType
r{ status: number; statusText: string }

Returns: boolean

Was this page helpful?

Download as PDF