Merge Capture
merge_captureMerge captured browser API traffic into the project registry and increment its version. Optionally merge only specified endpoints; require explicit allow_auth_change=true when auth schemes change.
Instructions
确认后把抓包合并进 registry(version+1)。鉴权 scheme 变化须显式 allow_auth_change=true。
endpoint_keys 形如 ["GET|api.example.com|/pets"];不传则合并全部。
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": {
"project_dir": "<project_dir>",
"session_id": "<session_id>"
},
"name": "merge_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| project_dir | Yes | ||
| endpoint_keys | No | ||
| allow_auth_change | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||