fossa_get_component_upload_url
Generate a pre-signed URL to upload a component archive, SBOM, or binary to FOSSA. The URL expires in five minutes.
Instructions
Get a pre-signed URL for uploading a component archive, SBOM, or binary to FOSSA. The URL expires in five minutes.
Read-only: this mints an upload URL, it does not upload anything. This server cannot perform the upload either — the returned URL has to be PUT to by whoever holds the file. Call fossa_build_component afterwards to start the analysis. file_type="binary" is billing-gated and 403s when the organization is out of binary decompositions.
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": {
"package_spec": "<package_spec>",
"revision": "<revision>"
},
"name": "fossa_get_component_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes | ||
| file_type | No | ||
| package_spec | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||