get_reusable
Fetch the full definition of a reusable V2 component (kind=2).
Fetch the full definition of a reusable V2 component (kind=2).
Read-only · Calls external systems. Safe to call: this tool does not modify data.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
reusable_id | number | Yes | Reusable test id |
Example arguments
Illustrative arguments an agent supplies when calling this tool:
{
"reusable_id": 0
}
Description
Reusables are V2-only — they contain step-based actions (ETH_WEB_SCRIPT_V2 / SMARTPHONE_APP_SCRIPT_V2) and are embedded into other V2 tests via step_group.import. To edit a reusable, use edit_test with its id.
Errors if the id refers to a regular test (kind=1). Use get_full_test for those instead.
Related
What's next?
Last updated on