> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/api.md).

# API

- [Overview](https://renownedgames.gitbook.io/ai-tree/api/overview.md): Welcome to the scripting reference!
- [User Scripting](https://renownedgames.gitbook.io/ai-tree/api/user-scripting.md): This section describes the basic APIs for extending functionality, creating your own tasks and etc.
- [Custom Task](https://renownedgames.gitbook.io/ai-tree/api/user-scripting/custom-task.md): Instruction to create custom user task
- [Custom Key](https://renownedgames.gitbook.io/ai-tree/api/user-scripting/custom-key.md): Instruction to create custom user key
- [ToolbarItem attribute](https://renownedgames.gitbook.io/ai-tree/api/user-scripting/toolbaritem-attribute.md): Instruction to create custom item in tracker window toolbars.
- [Custom Decorator](https://renownedgames.gitbook.io/ai-tree/api/user-scripting/custom-decorator.md)
- [Custom Service](https://renownedgames.gitbook.io/ai-tree/api/user-scripting/custom-service.md)
- [Runtime](https://renownedgames.gitbook.io/ai-tree/api/runtime.md)
- [BehaviourTree](https://renownedgames.gitbook.io/ai-tree/api/runtime/behaviourtree.md): class in RenownedGames.AITree / Inherits from ScriptableObject
- [BehaviourRunner](https://renownedgames.gitbook.io/ai-tree/api/runtime/behaviourrunner.md): class in RenownedGames.AITree / Inherits from MonoBehaviour
- [Blackboard](https://renownedgames.gitbook.io/ai-tree/api/runtime/blackboard.md): Type description and basic instructions.
- [Key](https://renownedgames.gitbook.io/ai-tree/api/runtime/key.md): Type description and basic instructions.
- [Key\<T>](https://renownedgames.gitbook.io/ai-tree/api/runtime/key-less-than-t-greater-than.md): Type description and basic instructions.
- [KeyQuery](https://renownedgames.gitbook.io/ai-tree/api/runtime/keyquery.md): Type description and basic instructions.
- [KeyQuery\<T>](https://renownedgames.gitbook.io/ai-tree/api/runtime/keyquery-less-than-t-greater-than.md): Type description and basic instructions.
- [KeyReceiver](https://renownedgames.gitbook.io/ai-tree/api/runtime/keyreceiver.md): Type description and basic instructions.
- [KeyReceiver\<T>](https://renownedgames.gitbook.io/ai-tree/api/runtime/keyreceiver-less-than-t-greater-than.md): Type description and basic instructions.
- [Task Node](https://renownedgames.gitbook.io/ai-tree/api/runtime/task-node.md): Type description and basic instructions.
- [Decorator Node](https://renownedgames.gitbook.io/ai-tree/api/runtime/decorator-node.md): Type description and basic instructions.
- [Condition Decorator](https://renownedgames.gitbook.io/ai-tree/api/runtime/condition-decorator.md): Type description and basic instructions.
- [Observer Decorator](https://renownedgames.gitbook.io/ai-tree/api/runtime/observer-decorator.md): Type description and basic instructions.
- [Service Node](https://renownedgames.gitbook.io/ai-tree/api/runtime/service-node.md): Type description and basic instructions.
- [Interval Service Node](https://renownedgames.gitbook.io/ai-tree/api/runtime/interval-service-node.md): Type description and basic instructions.
- [NodeContentAttribute](https://renownedgames.gitbook.io/ai-tree/api/runtime/nodecontentattribute.md): Type description and basic instructions.
- [AIPerceptionConfig](https://renownedgames.gitbook.io/ai-tree/api/runtime/aiperceptionconfig.md): Type description and basic instructions.
- [EQGenerator](https://renownedgames.gitbook.io/ai-tree/api/runtime/eqgenerator.md): Type description and basic instructions.
- [EQTraceMode](https://renownedgames.gitbook.io/ai-tree/api/runtime/eqtracemode.md): Type description and basic instructions.
- [EQTest](https://renownedgames.gitbook.io/ai-tree/api/runtime/eqtest.md): Type description and basic instructions.


---

# 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 dynamically by asking a question.

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

```
GET https://renownedgames.gitbook.io/ai-tree/api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
