> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# isRejected

```typescript
isRejected(payload: unknown): boolean
```

Whether a tool call was rejected (e.g. by a permission decision).

## Parameters

**payload** `unknown` *required*

## Returns

`boolean`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.