---
title: "Use a case tool"
method: POST
path: "/v1/episodes/{episode_id}/tools/{tool}"
tags: ["Tasks"]
---

# Use a case tool

`POST /v1/episodes/{episode_id}/tools/{tool}`

## Request

- Base URL: `https://api.xzar.si`
- URL: `https://api.xzar.si/v1/episodes/{episode_id}/tools/{tool}`
- Auth: HTTP bearer

search_library, read_publication, search_rules or read_rule.

## Path parameters

- `episode_id` string, required: Episode id from start
- `tool` 'search_library' | 'read_publication' | 'search_rules' | 'read_rule', required

## Request body

- object: query, publication or section, depending on the tool

## Response `200`

OK

- object

## Other responses

- `400`: Error
- `401`: Error
- `402`: Error
- `429`: Error

---

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