{"uid":"cap_3vHkCFwYyICqrm_J3a5Bd","slug":"tanod-pdfpeek-pdf-reorder-6c1fec99","name":"Tanod pdfpeek PDF Reorder","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/pdf/reorder?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"default":null,"description":"Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."},"order":{"type":"array","items":{"type":"integer","maximum":500,"minimum":1},"maxItems":500,"minItems":1,"description":"The new page order as 1-based page numbers (at most 500), e.g. [3, 1, 2]. A page may be listed more than once (it is copied); a page that is not listed is left out. A number the document does not have is a 422 page_out_of_range."},"output":{"enum":["base64","url"],"type":"string","default":"base64","description":"base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window."},"pdf_base64":{"anyOf":[{"type":"string","maxLength":13398872,"minLength":1},{"type":"null"}],"default":null,"description":"The PDF as base64 (at most 10 MB decoded per request); or use url."}}},"responseSchema":{"type":"json","example":{"file":{"name":"reordered.pdf","bytes":73724,"pages":6,"data_base64":"JVBERi0xLjcKJb/3... (trimmed: 98,300 base64 characters in the reply)","content_type":"application/pdf"},"operation":"reorder","input_bytes":140815,"input_pages":6,"output_bytes":73724,"result_pages":6,"omitted_count":0,"omitted_pages":[],"untrusted_content":true,"active_content_removed":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_llt4Uxie4ukXUP2WdfFIv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reorders, duplicates, or removes pages from a PDF by specifying a new page order as a 1-based integer array","exampleAgentPrompt":"Take this PDF at https://example.com/report.pdf and reorder the pages so they go 3, 1, 2 — basically move the third page to the front.","exampleUseCases":[{"title":"Rearrange presentation slides PDF","prompt":"I have a PDF presentation at https://files.example.com/slides.pdf with 6 pages, but the pages are in the wrong order. Can you reorder them so they go 1, 3, 2, 4, 6, 5?"},{"title":"Remove confidential pages before sharing","prompt":"Strip pages 2, 4, and 6 from this PDF — I only want to keep pages 1, 3, and 5 before I send it out. Here's the base64 of the file."},{"title":"Duplicate title page for booklet","prompt":"I need to duplicate the first page of this PDF at https://docs.example.com/booklet.pdf so the order is 1, 1, 2, 3, 4 — the cover should appear twice at the start."}],"resultDescription":"Returns a JSON object containing the reordered PDF as base64-encoded data, along with metadata: file name, output byte size, output page count, input byte size, input page count, omitted page count, list of omitted pages, and a flag indicating whether untrusted or active content was detected and removed.","failureModes":["422 page_out_of_range: a page number in the order array exceeds the document's actual page count","PDF URL exceeds 20 MB size limit or points to a private/internal/IP-literal host","base64 input exceeds 10 MB decoded size","Malformed or password-protected PDF that cannot be parsed","Network error fetching the URL","Neither url nor pdf_base64 provided","Order array is empty or contains invalid integers"],"whenToPreferThis":"Use this endpoint when you need to programmatically reorder, subset, or duplicate pages within an existing PDF without installing local PDF tools. It is ideal for AI agents that need to restructure documents on the fly, works pay-per-call with no signup, accepts both URLs and base64 input, and automatically sanitizes active content from the output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:40:16.362Z","isFirstParty":false,"canonicalSlug":"tanod-pdfpeek-pdf-reorder-6c1fec99"}