---
title: "POST /api/tools/{toolId}/execute"
method: POST
path: "/api/tools/{toolId}/execute"
tags: ["tools"]
---

# POST /api/tools/{toolId}/execute

`POST /api/tools/{toolId}/execute`

Execute a tool

## Path parameters

- `toolId` string, required

## Request body

- object
  - `args` object, required
  - `threadId` string
  - `resourceid` string

## Response `200`

Tool execution result

## Other responses

- `404` — Tool not found

---

[API](https://skmtc.net/mastra-ai/apis/mastra-api.md) · [All operations](https://skmtc.net/mastra-ai/apis/mastra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mastra-ai/mastra-api/versions/c1a4e2745194/schema)
