flow_synthesize
Generate runnable replay code (curl/TypeScript/Go/Python) from captured network calls, automatically chaining dependencies like auth tokens as variables for clean, reviewable scripts.
Instructions
Synthesize replay code (curl/TypeScript/Go/Python) for the captured network calls since the last flow_mark (or the whole buffer), chaining detected dependencies (e.g. an auth token from one response into a later request) as variables instead of baked-in literals. Dependency detection (exact / url-encoded / base64 / JWT-claim / substring): a value that came verbatim from an earlier response is lifted to a variable; unmatched values (base64/encoded/JWT-internal, user-supplied literals) stay literal for you to review, and a request input echoed back in a response may be over-chained.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redact | No | replace unmatched secret-bearing HEADER values (authorization/cookie, or any header value that looks like a long opaque token) and whole-literal request bodies with numbered env placeholders instead of the live value; does NOT cover url-query params or individual JSON-body fields, and chained (dependency-resolved) values are unaffected | |
| target | Yes | ||
| sinceSeq | No | override the window start; default is the session's flow_mark, else 0 | |
| sessionId | No | ||
| includeAll | No | include non-XHR/Fetch resource types (default: XHR/Fetch only) |