codesafe_bug_code
Retrieve source code lines for a specific bug by providing task ID, bug ID, and line range. Get the exact code context needed for security audit.
Instructions
Fetch a range of source lines (1-based, inclusive) for the file behind a bug.
The platform ignores the line range and returns the whole file, so we slice the requested [begin_line, end_line] window client-side with line numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bug_id | Yes | ||
| task_id | Yes | ||
| end_line | Yes | ||
| begin_line | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||