{"uid":"cap_dXE70kw5MBpVsWPR0b0w7","slug":"netzhandwerker-file-inspector-e6e36d37","name":"Netzhandwerker File Inspector","description":"x402-Werkzeuge für autonome Agenten.","url":"https://tools.netzhandwerker.de/v1/file/inspect","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Alternativ: Textinhalt"},"base64":{"type":"string","description":"Dateiinhalt als Base64, bis etwa 9 MB"},"filename":{"type":"string","description":"Behaupteter Dateiname fuer den Abgleich der Endung"}}},"responseSchema":{"type":"json","example":{"note":"Reine Struktur- und Signaturpruefung. Kein Virenscanner.","bytes":184213,"verdict":"nur_in_sandkasten","detected":{"mime":"application/pdf","extension":"pdf"},"embedded":[{"kind":"pdf_objects","count":412},{"kind":"pdf_pages","count":3}],"findings":[{"id":"pdf_javascript","evidence":"PDF enthaelt JavaScript-Eintrag.","severity":"hoch"}],"magic_hex":"255044462d312e340a25c7ec8fa2","claimed_extension":"pdf","extension_matches":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-gYHOf0O9vdO-kGDmf4rV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects a file (as base64 or text) to detect MIME type, extension, embedded objects, and suspicious findings like JavaScript in PDFs — structure and signature analysis only, no antivirus.","exampleAgentPrompt":"Can you inspect this base64-encoded PDF file — filename 'report.pdf' — and tell me if it contains any embedded JavaScript or suspicious objects?","exampleUseCases":[{"title":"PDF JavaScript detection in uploads","prompt":"A user just uploaded a file called 'invoice.pdf' — can you inspect its base64 content and tell me if it has any embedded JavaScript or risky findings before I let it into the system?"},{"title":"MIME type mismatch check","prompt":"I received a file that claims to be a .docx but I'm not sure it really is — can you check the base64 content with filename 'document.docx' and see if the extension actually matches the detected file type?"},{"title":"Embedded object audit in documents","prompt":"Inspect this base64-encoded file named 'presentation.pdf' and list all embedded objects like scripts, pages, or other PDF objects so I know what's inside before opening it."}],"resultDescription":"Returns a JSON object with: a note clarifying it is structure/signature analysis only (no antivirus), total byte size, a verdict string (e.g. 'nur_in_sandkasten'), detected MIME type and extension, a list of embedded object kinds with counts, a list of security findings each with an ID, human-readable evidence, and severity level, the magic bytes hex, the claimed extension, and whether the extension matches the detected type.","failureModes":["Base64 payload exceeds ~9 MB limit — request rejected","Malformed base64 string causes parsing failure","No input provided (neither text nor base64) — validation error","Unsupported or unrecognizable file format — limited detection results","Payment of 0.002 USDC not completed — 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need lightweight, fast file-type and structure inspection — especially to detect MIME/extension mismatches or embedded risky objects like JavaScript in PDFs — without needing a full antivirus scan. Ideal for pre-processing untrusted user uploads in an agent pipeline before further handling. Best for files up to ~9 MB supplied as base64.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:48.562Z","isFirstParty":false}