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


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guardian.hedera.com/docs/develop/guardian/standard-registry/policies/tools/tools-apis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
