---
title: "Resolve a tool's input/output schema for policy authoring"
method: GET
path: "/v1/policies/tool-schema"
tags: ["policies"]
---

# Resolve a tool's input/output schema for policy authoring

`GET /v1/policies/tool-schema`

## Query parameters

- `tool` string, required — canonical tool key, e.g. api:<uuid>

## Response `200`

Successful Response

- PolicyToolSchemaResponse — A tool_target's resolved input/output schema for the policy authoring surface.
  - `input_schema` object, nullable
  - `output_schema` object, nullable
  - `has_input` boolean, required
  - `has_output` boolean, required
  - `display_name` string, nullable

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `404` — Resource not found
- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/versions/888bdd5c076e/schema)
