> For the complete documentation index, see [llms.txt](https://guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis.md).

# Tools APIs

Endpoints for creating, managing, importing, exporting, and publishing Guardian policy tools. Tools are reusable policy components that encapsulate specific functionality.

**Authentication:** Bearer token required (`Authorization: Bearer <token>`)

**Permission:** Standard Registry role required for write operations.

***

| Method   | Endpoint                               | Description                             | Auth Required |
| -------- | -------------------------------------- | --------------------------------------- | ------------- |
| `GET`    | `/api/v1/tools`                        | Returns all tools                       | Yes           |
| `POST`   | `/api/v1/tools`                        | Creates a new tool                      | Yes           |
| `GET`    | `/api/v1/tools/{id}`                   | Returns the tool configuration          | Yes           |
| `PUT`    | `/api/v1/tools/{id}`                   | Updates the tool configuration          | Yes           |
| `DELETE` | `/api/v1/tools/{id}`                   | Deletes a tool                          | Yes           |
| `GET`    | `/api/v1/tools/{id}/export/file`       | Exports a tool as a ZIP file            | Yes           |
| `GET`    | `/api/v1/tools/{id}/export/message`    | Returns the tool Hedera message ID      | Yes           |
| `POST`   | `/api/v1/tools/import/file`            | Imports a tool from a ZIP file          | Yes           |
| `POST`   | `/api/v1/tools/import/message`         | Imports a tool from an IPFS message ID  | Yes           |
| `POST`   | `/api/v1/tools/import/file/preview`    | Previews a tool from a ZIP file         | Yes           |
| `POST`   | `/api/v1/tools/import/message/preview` | Previews a tool from an IPFS message ID | Yes           |
| `PUT`    | `/api/v1/tools/{id}/publish`           | Publishes a tool to IPFS                | Yes           |
| `POST`   | `/api/v1/tools/push`                   | Creates a new tool asynchronously       | Yes           |
| `POST`   | `/api/v1/tools/{id}/validate`          | Validates a tool                        | Yes           |
| `GET`    | `/api/v1/tools/menu/all`               | Returns the tools available in the menu | Yes           |

## Endpoints

* [Returns List of Tools](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/returns-list-of-tools.md)
* [Returns List of Tools (v1)](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/returns-list-of-tools-1.md)
* [Creating New Tool](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/creating-new-tool.md)
* [Creating New Tool Asynchronously](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/creating-new-tool-asynchronously.md)
* [Retrieves Tool Configuration](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/retrieves-tool-configuration.md)
* [Updates Tool Configuration](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/updates-tool-configuration.md)
* [Deletes the Tool](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/deletes-the-tool.md)
* [Returns Tools and Its Artifacts in ZIP Format](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/returns-tools-and-its-artifacts-in-zip-format.md)
* [Retrieves Hedera Message ID](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/retrieves-hedera-message-id.md)
* [Importing Tool from a ZIP File](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/importing-tool-from-a-zip-file.md)
* [Importing Tool from ZIP](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/importing-tool-from-zip.md)
* [Imported Tool from IPFS](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/imported-tool-from-ipfs.md)
* [Previews Imported Tool from ZIP](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/previews-imported-tool-from-zip.md)
* [Previews Imported Tool from IPFS](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/previews-imported-tool-from-ipfs.md)
* [Importing Tool from a ZIP File Asynchronously](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/importing-tool-from-a-zip-file-asynchronously.md)
* [Imports New Tool from ZIP Asynchronously](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/imports-new-tool-from-zip-asynchronously.md)
* [Imports New Tool from IPFS Asynchronously](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/imports-new-tool-from-ipfs-asynchronously.md)
* [Publishes Tool onto IPFS](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/publishes-tool-onto-ipfs.md)
* [Publishes Tool into IPFS Asynchronously](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/publishes-tool-into-ipfs-asynchronously.md)
* [Validates Selected Tool](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/validates-selected-tool.md)
* [Return Policy to Editing](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/return-policy-to-editing.-only-users-with-the-standard-registry-can-make-request.md)
* [Run Policy Without Making Any Persistent Changes](https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis/run-policy-without-making-any-persistent-changes-or-executing-transaction..md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guardian.hedera.com/docs/3.7.0/developer-tools-and-resources/api-reference/tools-apis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
