{"ok":true,"site":{"host":"paste.goldfinches.ru","url":"https://paste.goldfinches.ru/","type":"live","desc":"Share text, logs, notes, and configs with Nopaste.","tools":[{"name":"get_paste","kind":"answer","impl":"imperative","description":"Fetch the raw text of a Nopaste by its paste ID. Returns the plain-text body.","inputSchema":{"type":"object","properties":{"paste_id":{"type":"string","description":"The paste ID (4-40 chars, alphanumeric, dash or underscore)."}},"required":["paste_id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/list"]},{"name":"read_current_paste","kind":"answer","impl":"imperative","description":"Read the paste currently open in the page. No arguments. Only works on /paste/<id> pages.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/list"]},{"name":"create_paste","kind":"act","impl":"imperative","description":"Create a new Nopaste from the provided text. Returns the paste URL and, when the server has a shortener configured, its short URL. Pass custom_slug to request a vanity short-link name: it is strict — if the slug is already taken or the shortener is unavailable, the paste is NOT created and an error is returned.","inputSchema":{"type":"object","properties":{"content":{"type":"string","description":"The text body of the paste. Markdown is detected automatically; to publish a diagram wrap its source in a fenced block: ```mermaid ... ``` or ```prlens ... ``` (PR Lens graph.json). A graph body is only recognized inside a fence."},"custom_slug":{"type":"string","description":"Optional custom short-link slug (letters, digits, underscore, dash; 5-64 chars). Strict: taken slug or shortener outage fails the call without creating the paste."}},"required":["content"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/list"]},{"name":"set_paste_slug","kind":"act","impl":"imperative","description":"Set or replace the custom short-link slug for an existing paste via POST /paste/{id}/slug. Requires the browser ownership cookie (user_pastes) for anonymous pastes, or a staff/admin session. Surfaces 400 (invalid), 403 (not owner), 409 (taken), and 503 (shortener disabled) as clear error text.","inputSchema":{"type":"object","properties":{"paste_id":{"type":"string","description":"The paste ID (4-40 chars, alphanumeric, dash or underscore)."},"custom_slug":{"type":"string","description":"Custom short-link slug (letters, digits, underscore, dash; 5-64 chars)."}},"required":["paste_id","custom_slug"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/list"]},{"name":"update_paste","kind":"act","impl":"imperative","description":"Update the body of an existing paste via POST /paste/{id}/edit. Requires a logged-in session that owns the paste (ownership cookie alone is not enough) or staff/admin. Surfaces 401/403/400 as clear error text.","inputSchema":{"type":"object","properties":{"paste_id":{"type":"string","description":"The paste ID (4-40 chars, alphanumeric, dash or underscore)."},"content":{"type":"string","description":"The updated text body of the paste."}},"required":["paste_id","content"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/list"]},{"name":"delete_paste","kind":"transact","impl":"imperative","description":"Delete an existing paste via POST /paste/{id}/delete. Requires a logged-in session that owns the paste (ownership cookie alone is not enough) or staff/admin. Surfaces 401/403 as clear error text.","inputSchema":{"type":"object","properties":{"paste_id":{"type":"string","description":"The paste ID (4-40 chars, alphanumeric, dash or underscore)."}},"required":["paste_id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/list"]},{"name":"list_recent_pastes","kind":"answer","impl":"imperative","description":"List paste IDs from this browser's Nopaste history (the signed user_pastes cookie). Returns at most 50 IDs, most recent first.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/list"]}],"category":"Developer Tools","favicon":"/favicons/paste.goldfinches.ru.png","apiSurface":"spec","toolCount":7}}