nexus_upload_component
Upload a component to a hosted repository using repository name, format, and local file path or base64 content.
Instructions
Upload a component to a hosted repository
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": {
"repository": "<repository>",
"format": "<format>"
},
"name": "nexus_upload_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Component format | |
| version | No | Component version | |
| filename | No | Filename in repository | |
| group_id | No | Group ID (for Maven) | |
| file_path | No | Local file path to upload | |
| packaging | No | Packaging type (for Maven) | |
| repository | Yes | Target repository name | |
| artifact_id | No | Artifact ID (for Maven) | |
| file_base64 | No | File content as base64 (alternative to file_path) |