Create Paste
create_pasteCreate a new Pastebin paste from provided code, with optional title, syntax highlighting, privacy level, and expiration time.
Instructions
Create a new paste on Pastebin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The content of the paste. | |
| name | No | Name or title of the paste. | |
| format | No | Syntax highlighting format (e.g., 'python', 'javascript'). | |
| private | No | Privacy level (0=Public, 1=Unlisted, 2=Private). Private requires api_user_key. | |
| api_dev_key | No | Your Pastebin Developer API Key. | |
| expire_date | No | Expiration time (N=Never, 10M, 1H, 1D, 1W, 2W, 1M, 6M, 1Y). Default is 1H. | 1H |
| api_user_key | No | Your Pastebin User Key (from login). Required for private pastes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |