---
title: "list_reusables_in_test"
description: "List the reusables embedded in a test."
sidebarTitle: "list_reusables_in_test"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

List the reusables embedded in a test.

<Note>
  **Read-only · Calls external systems.** Safe to call: this tool does not modify data.
</Note>

## Parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | number | No | Max entries to expand (default: 50, max: 200) |
| `test_id` | number | Yes | Regular test id (kind=1) |

## Example arguments

Illustrative arguments an agent supplies when calling this tool:

```json
{
  "test_id": 0
}
```

## Description

```text
Only V2 tests (ETH_WEB_SCRIPT_V2 / SMARTPHONE_APP_SCRIPT_V2) can embed reusables via step_group.import. Classic tests will always return empty results since they have no import mechanism.

Reads reused_tests from the target test and expands each id into {id, name}. Errors if the target id refers to a reusable (kind=2) — use list_reusable_usage for the inverse direction.
```

## Related

- [`list_reusable_usage`](/mcp/tools/reusables/list_reusable_usage)

## What's next?

<Columns cols={2}>
  <Card title="All MCP tools" icon="robot" href="/mcp/tools/overview">
    Browse the full tool reference by category.
  </Card>
  <Card title="Connect a client" icon="plug" href="/mcp/connect">
    Point Claude, Cursor, or Claude Code at the server.
  </Card>
</Columns>
