---
title: "Call one action on an externally driven round"
method: POST
path: "/v1/apps/{id}/mining/rounds/{runId}/tools/{name}"
tags: ["Apps"]
---

# Call one action on an externally driven round

`POST /v1/apps/{id}/mining/rounds/{runId}/tools/{name}`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/apps/{id}/mining/rounds/{runId}/tools/{name}`
- Auth: HTTP bearer

Runs one action for the agent holding the round's decision task. The caller must hold a live claim on that task with the current `execution_epoch`, else 409. Answers 200 with the result when it finishes within the wait window, else 202 with a `call_id` to poll. An action's own error is a 200 with `is_error: true`; a call refused before it ran (closed round, another call running) is a 409. On an OAuth session an action above the person's role is 403. Requires a `decide` grant on the app.

## Path parameters

- `id` string, uuid, required
- `runId` string, uuid, required
- `name` string, required

## Request body

- object
  - `execution_epoch` integer, required: The epoch of your claim on the round's decision task.
  - `input` object, required: The action's input, shaped by its `input_schema`.

## Response `200`

The call finished.

- AppRulesToolCall
  - `call_id` string, uuid
  - `status` 'done' | 'running'
  - `content` string: The action's answer
  - `is_error` boolean: True when the action answered with an error.
  - `poll` string: The path to poll
  - `state` string: The call's queue state while running.

## Other responses

- `202`: The call is still running; poll `poll` for its result.
- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `409`: The request conflicts with the current resource state.
- `429`: Daily rate limit exceeded.
- `503`: Externally driven rounds are not available on this deployment.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/apps/:id/mining/rounds/:runId/tools/:name/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
