setup_trusted_publishing
Links a package to release.yml for OIDC trusted publishing, guiding npm, PyPI, or crates.io setup and leaving only sign-in, 2FA, or Save clicks to you.
Instructions
Link the package to release.yml for OIDC publishing. npm: npm trust (package must exist; user approves 2FA). PyPI/crates: opens the settings page with the values; user clicks Save.
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": {
"dir": "<dir>",
"repo": "<repo>"
},
"name": "setup_trusted_publishing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | ||
| repo | Yes | owner/name | |
| openBrowser | No | ||
| workflowFile | No | release.yml |