bundle_export
Export one Task Passport, compact handoff, latest task checkpoint when available, selected source conclusions, and optionally referenced evidence to a redacted agentpack.task-bundle JSON file.
Instructions
Export one Task Passport, compact handoff, latest task checkpoint when available, selected source conclusions, and optionally referenced evidence to a redacted agentpack.task-bundle JSON file. Writes only the new bundle file at outputPath; pack state is unchanged.
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": {
"outputPath": "<outputPath>"
},
"name": "bundle_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | No | Task Passport id to export. Defaults to the current task. | |
| sources | No | Repo-relative source paths whose Source Cache records to include. | |
| outputPath | Yes | Destination bundle file: must be a new repo-relative path outside .agentpack/ and .git/; existing files and symlink escapes are rejected. | |
| includeEvidence | No | Include referenced evidence file contents. Defaults to true. |