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

# No Pending Tool Calls

> Cannot submit tool_outputs when the latest assistant turn is not waiting on any caller-declared tool calls.

**HTTP status:** 400

## Error message

```text theme={null}
cannot submit tool_outputs: the latest assistant turn of conversation {id} is not waiting on any tool calls
```

## When this error occurs

`POST /agents/conversations/{id}/runs` with `payload.kind = tool_outputs` resumes the run that
wrote the conversation's latest assistant turn. That run must have stopped at `requires_action`
with a non-empty `pending_tool_calls` list. This error means it didn't:

* The run finished with `final_text`, so the model isn't waiting on anything.
* Every call on that turn went to an MCP server or a [harness tool](https://docs.narrative.io/reference/architecture/agent-conversations.md#harness-tools),
  and the platform already ran them.

## How to fix

If you meant to send the user's next message, change the payload to
`{"kind": "user_message", "text": "..."}`.

If you meant to resume a paused run, check which run you're answering.
`GET /agents/conversations/{id}/messages` returns each message's `run_id`. Take the `run_id` of
the latest assistant message, and `GET /agents/runs/{run_id}`. You can post `tool_outputs` only
when that run's `status` is `requires_action`, with one output for each entry in its
`pending_tool_calls`.


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