Create paste
create_pasteCreate a paste on Pastes.io from text, code or logs and return its shareable link. The paste is unlisted: anyone with the link can read it. Free accounts must keep the default expiry (1M); other expiries need Pro.
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": {
"title": "<title>",
"content": "<content>"
},
"name": "create_paste"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Short title shown on the paste page. | |
| expire | No | When the paste expires: 10M, 1H, 1D, 1W, 2W, 1M (default), 6M, 1Y, N (never) or SD (self-destructs after it is first read). | |
| syntax | No | Syntax highlighting. Defaults to txt; use logs for log output. | |
| content | Yes | The text to share. | |
| password | No | Optional password readers must enter. Share it with the user separately. |