Tool tree
Create and share code or text with syntax highlighting; public, unlisted, or encrypted visibility; smart expiry; and full API, CLI, and MCP access.
Implementation
gradeNot graded
gradeNot graded
get_pasteAnswer
Fetch a public or unlisted pastebin.ca paste by its id (read-only). Returns the paste JSON, including its body and metadata.
View tool JSON
{
"name": "get_paste",
"kind": "answer",
"impl": "imperative",
"description": "Fetch a public or unlisted pastebin.ca paste by its id (read-only). Returns the paste JSON, including its body and metadata.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The paste id, e.g. \"2EREFnGBXq\"."
}
},
"required": [
"id"
],
"additionalProperties": false
}
}create_pasteAction
Create a new UNLISTED plaintext paste on pastebin.ca, reachable only by its returned link. Returns the created paste JSON (including its url). Does not create public-feed pastes.
View tool JSON
{
"name": "create_paste",
"kind": "act",
"impl": "imperative",
"description": "Create a new UNLISTED plaintext paste on pastebin.ca, reachable only by its returned link. Returns the created paste JSON (including its url). Does not create public-feed pastes.",
"inputSchema": {
"type": "object",
"properties": {
"body": {
"type": "string",
"description": "The plaintext content of the paste."
},
"title": {
"type": "string",
"description": "Optional title for the paste."
},
"syntax_hint": {
"type": "string",
"description": "Optional syntax/language hint, e.g. \"javascript\"."
}
},
"required": [
"body"
],
"additionalProperties": false
}
}