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

# Test Custom Tool

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

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.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
