Back to home
Connect a client

Complete a source upload

Validate a direct upload before using its ID to inspect source or deploy. The upload must belong to the credential's user and organisation/project.

Arguments

NameTypeRequiredLimits
projectIdstringNoAt least 1 character(s)
uploadIdstringYesAt least 1 character(s)
Full input schema
{
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "minLength": 1
    },
    "uploadId": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "uploadId"
  ],
  "additionalProperties": false
}

Example call

The params of a tools/call request. Replace the placeholder values with your own IDs.

{
  "name": "completeSourceUpload",
  "arguments": {
    "uploadId": "REPLACE_WITH_UPLOAD_ID"
  }
}

Result

The same data as the API operation, wrapped as {"untrusted_data": true, "source": "completeSourceUpload", "note": "...", "data": ...} so the model treats project content as data, not instructions.