---
title: "Call one workout tool"
method: POST
path: "/api/ai/client/assistant/tools/{tool_name}"
tags: ["workouts"]
---

# Call one workout tool

`POST /api/ai/client/assistant/tools/{tool_name}`

## Request

- Base URL: `https://www.supersetapp.com`
- URL: `https://www.supersetapp.com/api/ai/client/assistant/tools/{tool_name}`
- Auth: HTTP bearer

Invokes a tool from `listWorkoutTools` with its arguments. Write tools need `workouts.write`, which a person grants explicitly.

## Path parameters

- `tool_name` string, required

## Request body

- object

## Response `200`

The tool's result.

- object

## Other responses

- `400`: Unknown tool or a non-object body (`__all__`); malformed JSON answers `detail`.
- `401`: Missing, invalid, or revoked credential.
- `403`: The credential lacks a scope this needs. A missing scope carries a challenge naming it; the app-variant guard denies without one.
- `429`: Throttled at 210 requests per min. Honour `Retry-After`.

---

[API](https://skmtc.dev/supersetapp/apis/superset-api.md) - [All operations](https://skmtc.dev/supersetapp/apis/superset-api/llms.txt) - [OpenAPI document](https://skmtc.dev/supersetapp/apis/superset-api/revisions/80be14a3d402?raw)
