# TLO:FindItem

## Description

A TLO used to find an item on your character, corpse, or a merchant by partial or exact name match. *See examples below.*

## Forms

|                                                                                                                 |                                                                               |
| --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [*item*](/macroquest/data-types-and-top-level-objects/data-types/datatype-item.md) **FindItem\[name]**          | Returns item on your character, a corpse, or a merchant by partial name match |
| [*item*](/macroquest/data-types-and-top-level-objects/data-types/datatype-item.md) **FindItem\[**=name\*\*]\*\* | Returns item on your character, a corpse, or a merchant by exact name match   |

## Access to Types

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

## Examples

Looks for the Cleric Epic (by exact match) and prints its ID.

{% tabs %}
{% tab title="Lua" %}

```lua
/lua parse mq.TLO.FindItem("=Water Sprinkler of Nem Ankh").ID()
```

{% endtab %}

{% tab title="MQScript" %}
`/echo ${FindItem[=Water Sprinkler of Nem Ankh].ID}`
{% endtab %}
{% endtabs %}

Looks for an item with the name swirling in it, and prints the ID.

{% tabs %}
{% tab title="Lua" %}

```lua
/lua parse mq.TLO.FindItem("swirling").ID()
```

{% endtab %}

{% tab title="MQScript" %}
`/echo ${FindItem[swirling].ID}`
{% endtab %}
{% endtabs %}

## See Also

* [Top-Level Objects](/macroquest/data-types-and-top-level-objects/top-level-objects.md)
* [item](/macroquest/data-types-and-top-level-objects/data-types/datatype-item.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-finditem.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.
