---
title: "POST /mcp/internal/tool-call/"
method: POST
path: "/mcp/internal/tool-call/"
tags: ["mcp"]
---

# POST /mcp/internal/tool-call/

`POST /mcp/internal/tool-call/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/mcp/internal/tool-call/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Execute a tool call via internal API (used by stdio proxy).

## Request body

- MCPToolCallRequest
  - `tool_name` string, required
  - `params` object
  - `session_id` string, uuid, nullable

## Response `200`

OK

- MCPToolCallResponse
  - `status` boolean, required
  - `result` MCPToolCallResult, required
    - `content` string, nullable, required
    - `data` object, nullable, required
    - `is_error` boolean, required
    - `error_code` string, nullable, required
  - `session_id` string, uuid, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
