slice_files_for_task
Filter a list of files to only those that match a task's scope glob, or include all files if no scope is defined.
Instructions
Filter a file list to those matching a task's scope glob. Without a scope, the task is repo-wide and all files match. Same glob primitive as skip_paths and learnings scope.
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": {
"workspace_root": "<workspace_root>",
"task_id": "<task_id>",
"files": "<files>"
},
"name": "slice_files_for_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_root | Yes | ||
| task_id | Yes | ||
| files | Yes |