Get Script
get_scriptGet an automation script's details including the generated Playwright/Cypress test code. Pass if_version_matches with the version from a previous read to get a cheap not_modified answer, and fields to fetch only what you need.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional subset of script fields to return: code, created_at, framework, id, name, project_id, test_case_id, version. Omit for the full record. | |
| context | No | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| script_id | Yes | Automation script ID | |
| if_version_matches | No | Version from a previous get_script/update_script. If the code is unchanged, the tool returns `not_modified` instead of the code. |