Build CodeFactor Prompt
build_codefactor_promptCreates a prompt instructing an AI model to apply CodeFactor suggestions when editing code. Converts CodeFactor issues into clear, actionable instructions.
Instructions
Build an AI-facing prompt that asks the model to follow CodeFactor suggestions while editing code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build_codefactor_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | CodeFactor repository or issues URL. | |
| html | No | Raw CodeFactor issues HTML. If omitted, url or CODEFACTOR_REPOSITORY_URL is used. | |
| cookie | No | Optional CodeFactor Cookie header. Falls back to CODEFACTOR_COOKIE. | |
| allPages | No | Fetch all issue pages up to maxPages when using url. | |
| category | No | Only include one CodeFactor category, for example Complexity. | |
| maxPages | No | Maximum pages to fetch when allPages is true. | |
| maxIssues | No | Maximum number of issues returned. | |
| includeHidden | No | Include hidden CodeFactor issues. Defaults to false. | |
| filePathIncludes | No | Only include issues whose file path contains this text. |