---
title: "Test Custom Tool"
method: POST
path: "/agents/tools/{tool_id}/test"
tags: ["custom-tools"]
---

# Test Custom Tool

`POST /agents/tools/{tool_id}/test`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/agents/tools/{tool_id}/test`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Test a custom tool with sample parameters.

## Path parameters

- `tool_id` string, uuid, required

## Request body

- CustomToolTestRequest: Test a custom tool with sample parameters.
  - `parameters` object

## Response `200`

Successful Response

- CustomToolTestResponse: Result of testing a custom tool.
  - `success` boolean, required
  - `status_code` integer, nullable
  - `response_body` string, nullable
  - `extracted_value` string, nullable
  - `duration_ms` integer
  - `error` string, nullable

## Other responses

- `422`: Validation Error

---

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