list_reusables_in_test
List the reusables embedded in a test.
List the reusables embedded in a test.
Read-only · Calls external systems. Safe to call: this tool does not modify data.
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:
{
"test_id": 0
}
Description
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
What's next?
Last updated on