# TLO:Spell

## Description

Object used to return information on a spell by name or by ID.

## Forms

|                                                                                                       |                    |
| ----------------------------------------------------------------------------------------------------- | ------------------ |
| [*spell*](/macroquest/data-types-and-top-level-objects/data-types/datatype-spell.md) **Spell\[n]**    | Find spell by ID   |
| [*spell*](/macroquest/data-types-and-top-level-objects/data-types/datatype-spell.md) **Spell\[name]** | Find spell by name |

## Access to Types

* [*spell*](/macroquest/data-types-and-top-level-objects/data-types/datatype-spell.md) **spell**

## Examples

`/echo ${Spell[Splurt].ID}`

Will return 1620

`/echo ${Spell[1620].Duration}`

Will return 16 (ie. 16 ticks)

## See Also

* [Top-Level Objects](/macroquest/data-types-and-top-level-objects/top-level-objects.md)
* [spell](/macroquest/data-types-and-top-level-objects/data-types/datatype-spell.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://macroquest.gitbook.io/macroquest/data-types-and-top-level-objects/top-level-objects/tlo-spell.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.
