Save a session as a workflow
writ_browser_saveSaves the open session as a replayable workflow and closes the browser, in the place its browser ran: the user's desktop library or Writ Cloud. Composed functions become callable API functions, declared inputs become its parameters. The answer carries the steps, the inputs and a run_example; the workflow runs at zero AI cost through writ_run_workflow. A save that references something no run could resolve is refused with the reasons, and the browser stays open.
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_id": "<session_id>"
},
"name": "writ_browser_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| listing | No | Its Marketplace title, summary, tags, category and intent: people-facing, English, no build status. | |
| save_to | No | ||
| keep_open | No | ||
| session_id | Yes | ||
| description | No | ||
| allow_no_data | No | Save a workflow that returns no data, on purpose. | |
| contribute_to_catalog | No |