generate-api-key
Generate a Common Paper API key for the current OAuth user. Pass optional api_key.description. Returns attributes.key once — treat it as a secret; do not echo it to the user unless they ask. Persist the key in client/session storage and reuse it for future HTTP calls; only call this tool again if a request fails with 401/403 or the stored key is missing. Use the key as Authorization: Bearer for direct HTTP calls (e.g. uploading attachments to POST /v1/attachments).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||