capture_ast_evidence
Extracts AST symbols, signatures, and semantic diffs from target source files, including Git HEAD comparisons and breaking-change detection, to store structured evidence in a bundle.
Instructions
Extracts AST symbols, signatures, and computes semantic diffs (with Git HEAD comparison and breaking change detection) for target source files.
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": {
"bundleId": "<bundleId>",
"files": "<files>"
},
"name": "capture_ast_evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Array of relative or absolute file paths to analyze within workspace. | |
| bundleId | Yes | The unique identifier of the evidence bundle. | |
| workspaceName | No | Optional name of the workspace for monorepo packages (defaults to "root"). | |
| workspacePath | No | Optional workspace root directory to locate the bundle. | |
| compareWithGitHead | No | Whether to compare symbols against Git HEAD to detect changes and breaking changes. |