analyze_stamp_code
Analyze a recursive stamp's code structure and dependencies by parsing JavaScript, resolving references, and detecting patterns to uncover security and performance issues.
Instructions
Analyze the code structure and dependencies of a recursive stamp, including JavaScript parsing, dependency resolution, and pattern detection
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": {
"stamp_id": "<stamp_id>"
},
"name": "analyze_stamp_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stamp_id | Yes | The ID or CPID of the stamp to analyze | |
| max_depth | No | Maximum depth for dependency analysis | |
| include_raw_content | No | Whether to include raw stamp content in response | |
| include_dependencies | No | Whether to analyze referenced stamps | |
| include_security_analysis | No | Whether to include security analysis | |
| include_performance_analysis | No | Whether to include performance analysis |