upload_packages
[PRIVATE UPLOAD] Push local primitive(s) into the author's PRIVATE workspace. Files are normalised by the SkillForge author pipeline and stored as private drafts owned by the token holder — NOT visible in the public marketplace, search, or trust leaderboard. To list a draft for sale on the marketplace, the author must submit it for admin review from the website UI (/account/packages). This MCP tool intentionally has no publish parameter so agents cannot expose a user's skill publicly without their consent. Authenticates via the OAuth bearer of the active MCP session — no extra personal token needed. Pass an idempotency_key (any opaque string you generate once per upload) so retries on network failures don't create duplicates. Batching: the first file is processed inline; any additional files are queued and normalised by a background worker (drained roughly once per minute) — the response includes queued: [{id, filename}] so the caller can poll progress at /account/packages.
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": {
"files": "<files>"
},
"name": "upload_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| dry_run | No | Validate the files WITHOUT authenticating or persisting anything: returns per-file inferred type + prompt-injection guard verdict so an agent can confirm a file would be accepted before connecting OAuth. No drafts are created, no model budget spent. | |
| auth_token | No | Deprecated. Ignored when the request already carries an OAuth bearer; only used as a fallback for legacy personal MCP tokens. | |
| idempotency_key | No | Opaque string generated once per logical upload. Repeats within 24h return the original response and DO NOT re-process the files. |