record_stop
Stop recording a 5250 session and return the captured flow as YAML, optionally saving it as a reusable tool to review before use.
Instructions
Stop recording and return the flow as YAML (saved when the server has a record folder). The flow is available as a tool right away. Review it before relying on it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "record_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | flow name (lower_snake_case); leave out to discard the recording | |
| save | No | write <name>.yaml to the server's record folder | |
| params | No | auto: typed values become parameters (recorded value = default); none: keep them literal | auto |
| session | No | session name; lets you run several side by side | main |
| description | No | what the flow does; the agent reads it when choosing tools |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |