---
title: "Run Tool"
method: POST
path: "/v1/tools/{name}"
tags: ["Tools"]
---

# Run Tool

`POST /v1/tools/{name}`

Execute a specific tool by name. The request body schema and response format are defined by each individual tool's specification. Use `GET /v1/tools` to discover available tools and their parameter schemas.

## Path parameters

- `name` string, required

## Query parameters

- `embedding_model` string

## Request body

- unknown

## Response `200`

Tool Specific response, in JSON format

- unknown

## Other responses

- `400` — Invalid searchable tool registry configuration
- `401` — Tool routes require runtime auth to be configured
- `404` — Tool not found
- `500` — An error occurred while calling the tool

## Changes

> 53 revisions in range; 26 could not be searched.

- **2025-03-18** `dd94571fef79` — 1 breaking, 1 warning, 4 info
  - removed the media type `application/json` for the response with the status `404`
  - deleted the `query` request parameter `embedding_model`
  - api operation id `run_tool` removed and replaced with `post`
  - added the media type `text/plain` for the response with the status `404`
  - …2 more

[Change history](https://skmtc.dev/spiceai/apis/runtime/changes/v1/tools/:name/post.md)

---

[API](https://skmtc.dev/spiceai/apis/runtime.md) · [All operations](https://skmtc.dev/spiceai/apis/runtime/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/spiceai/runtime/revisions/fb597a4eaa56/schema)
