get_prompt
Retrieves a session's PROMPT.md when present. Otherwise, synthesizes a test-generation prompt from flow.md and ranked locators for Playwright, Selenium, or Cypress.
Instructions
Return PROMPT.md for a session if present; otherwise synthesize a test-generation prompt from flow.md and ranked locators.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session": "<session>"
},
"name": "get_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session folder name under PAGESNAP_SESSIONS_DIR, or an absolute session path. | |
| framework | No | Target test framework. Default: playwright. | playwright |