# Usage

- [Output format](https://mikefarah.gitbook.io/yq/usage/output-format.md): Flags to control yaml and json output format
- [Working with Base64](https://mikefarah.gitbook.io/yq/usage/base64.md)
- [Working with CSV, TSV](https://mikefarah.gitbook.io/yq/usage/csv-tsv.md)
- [Working with JSON](https://mikefarah.gitbook.io/yq/usage/convert.md)
- [Working with Properties](https://mikefarah.gitbook.io/yq/usage/properties.md)
- [Working with XML](https://mikefarah.gitbook.io/yq/usage/xml.md)
- [Working with HCL](https://mikefarah.gitbook.io/yq/usage/hcl.md)
- [Working with LUA](https://mikefarah.gitbook.io/yq/usage/lua.md)
- [Working with TOML](https://mikefarah.gitbook.io/yq/usage/toml.md)
- [Working with KYAML](https://mikefarah.gitbook.io/yq/usage/kyaml.md)
- [Working with Shell Output](https://mikefarah.gitbook.io/yq/usage/shellvariables.md)
- [Front Matter](https://mikefarah.gitbook.io/yq/usage/front-matter.md)
- [Split into multiple files](https://mikefarah.gitbook.io/yq/usage/split-into-multiple-files.md)
- [GitHub Action](https://mikefarah.gitbook.io/yq/usage/github-action.md)
- [Tips, Tricks, Troubleshooting](https://mikefarah.gitbook.io/yq/usage/tips-and-tricks.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://mikefarah.gitbook.io/yq/usage.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.
