# Create Swagger File Using Akto

Akto allows you to export agent collections and MCP collections in various formats that hold vital information about components, request and response formats, parameters, data models, authentication methods, and other essential details.

Once Akto captures all agent components and MCP endpoints, you can export collections for documentation purposes.

Go to **Agentic Discovery > Collections.** Select the collection you want to export. Click on **Export** to generate the specification file.

This file can be used for various purposes such as documentation generation, integration with other tools, and sharing component specifications with team members or third-party developers.


---

# 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://ai-security-docs.akto.io/akto-argus-agentic-ai-security-for-homegrown-ai/agentic-ai-discovery/how-to/create-swagger-file-using-akto.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.
