Analyze code with Cloudflare GLM
analyze_code_cloudflareRun read-only code analysis by supplying a workspace directory and a focused prompt to the fixed Cloudflare GLM 4.7 Flash model. Start here for low-cost AI insights.
Instructions
Read-only code analysis using the fixed Cloudflare Workers AI GLM 4.7 Flash model at low reasoning effort. Use this first.
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": {
"directory": "<directory>",
"prompt": "<prompt>"
},
"name": "analyze_code_cloudflare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The focused code-analysis question. | |
| directory | Yes | Absolute workspace path under an allowed root. |