Complete Source Upload
complete_source_uploadCheck the uploaded files and make them the agent's complete new source.
Replaces the previous source entirely: files not in this upload are not
kept. Earlier behaviors and probes are kept but marked outdated, and the
agent returns to needing a scan. Reports the files accepted, those skipped
and why, and whether a limit truncated the collection. Refused with
`operation_in_progress` while a scan or generation runs; call again with
the same upload_id once it finishes. Repeating a completed call returns
the same result.
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": {
"upload_id": "<upload_id>"
},
"name": "complete_source_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exclude | No | Optional glob patterns for files to leave out, on top of built-in exclusions. | |
| include | No | Optional glob patterns; only matching files are collected (e.g. "src/**/*.py"). | |
| upload_id | Yes | The upload_id from prepare_source_upload. |