{"uid":"cap_VnDeGDqrfjUQZjJ78WM3g","slug":"first-ruble-agent-svg-small-features-detector-0c328184","name":"First Ruble Agent — SVG Small Features Detector","description":"Focused APIs for SVG print risks, fine print details, Bezier clearance, tiny objects and holes, vector quality, cutting contours and native SVG/CorelDRAW EPS curves. From 0.02 USDC per request with x402 on Base. Free fixed samples and MCP discovery. Not a certified production approval.","url":"https://first-ruble-agent.tohaa28.workers.dev/api/small-features?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"shapes":{"type":"array","description":"1..128 shapes: {id,outer:[[xMm,yMm],...],holes?:[ring,...]}. No Béziers or SVG strings."},"minWidthMm":{"type":"number","exclusiveMinimum":0},"minHeightMm":{"type":"number","exclusiveMinimum":0}}},"responseSchema":{"type":"json","example":{"counts":{"smallHoles":1,"smallObjects":1},"status":"small_features_detected"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KG8-_JROJImBjeRdEHL-P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes polygon shapes to detect features that are too small for reliable printing, counting small holes and small objects based on minimum size thresholds.","exampleAgentPrompt":"Check these 3 polygon shapes for any features smaller than 2mm wide or 1.5mm tall — I need to know if there are any small holes or tiny objects that might not print correctly.","exampleUseCases":[{"title":"Laser cut stencil preflight check","prompt":"I have a stencil design with 45 polygon shapes and I need to verify that no holes or objects are smaller than 1mm wide or 1mm tall before I send it to the laser cutter — can you run the small features check on these shapes?"},{"title":"PCB silkscreen minimum feature validation","prompt":"Before printing this PCB silkscreen overlay, check these 20 polygon outlines for any features that fall below 0.8mm width or 0.5mm height — I want counts of small holes and small objects so I know what to fix."},{"title":"Textile print design quality gate","prompt":"Run a small features check on my textile print polygons — I have 60 shapes and the printer requires nothing smaller than 3mm wide or 2mm tall, so flag anything that violates those minimums."}],"resultDescription":"Returns a JSON object with a counts object containing smallHoles (number of detected holes below the minimum size) and smallObjects (number of objects below the minimum size), plus a status string such as 'small_features_detected' or similar indicating whether problematic features were found.","failureModes":["Shapes array exceeds 128 elements — request rejected","minWidthMm or minHeightMm is zero or negative — validation error","Shapes contain Bézier curves or SVG path strings instead of coordinate arrays — unsupported input format","Empty shapes array — may return zero counts with no meaningful result","Payment not included or insufficient USDC — 402 Payment Required response","Polygon rings are malformed or unclosed — may produce incorrect detection results"],"whenToPreferThis":"Use this endpoint when you need to programmatically validate that polygon shapes in a print or manufacturing file contain no features smaller than specified minimum dimensions, specifically to catch small holes and tiny objects before physical production. It is particularly useful as an automated gate in a print-preflight pipeline where shapes have already been extracted as coordinate arrays. Prefer this over full SVG preflight tools when your shapes are already in polygon form and you need a fast, cheap per-call check focused specifically on minimum feature size.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T12:36:12.076Z","isFirstParty":false,"canonicalSlug":"first-ruble-agent-svg-small-features-detector-0c328184"}