Munition

v0.0.16
io.github.benjammartin/munition Checked 1 day ago Published 1 month ago

Web search, page reading, HTML to PDF, file upload and flight search for AI agents, paid in USDC.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

upload

Upload a local file (≤ 10 MB) with optional stable tags. Returns a public URL retained for 7 days plus upload metadata including tags. Costs 0.005 USDC via x402.

ParameterTypeDescription
path *stringAbsolute path to the local file
filenamestringOptional URL slug
tagsarrayOptional stable upload tags for categorization. Returned as an array of strings.

search_flights

Search live flight offers and return normalized itineraries. Costs 0.05 USDC via x402 from the account wallet.

ParameterTypeDescription
departureDate *stringDeparture date as YYYY-MM-DD
destination *stringIATA destination airport code, e.g. JFK
origin *stringIATA origin airport code, e.g. SFO
adultsnumber
childrennumber
currencystringOptional 3-letter currency code for maxPrice comparison
infantsnumber
maxPricenumberOptional max total price filter; no currency conversion is applied
maxResultsnumber
nonStopbooleanWhen true, return non-stop offers only
returnDatestringOptional return date as YYYY-MM-DD
travelClassstring

flight_offer_details

Fetch normalized Duffel details for a single flight offer id. Costs 0.01 USDC via x402 from the account wallet.

ParameterTypeDescription
offerId *stringDuffel offer id, for example off_0000A3bQ8FJj5aa6HYwq0Q

web_find_similar

Find pages semantically similar to a URL (Exa), e.g. competitors or related articles, optionally with their contents. Costs 0.01 USDC per call via x402 from the account wallet. Payment is kept if the provider fails after settlement (the error carries paidCallId); do not retry blindly.

ParameterTypeDescription
url *stringSeed URL.
contentsobjectWhich page contents to include. Omit for metadata only.
excludeDomainsarray
excludeSourceDomainboolean
includeDomainsarray
numResultsinteger

web_contents

Read the clean text of up to 20 known URLs from Exa's index, with live-crawl fallback. Cheapest way to read many pages. Costs 0.002 USDC per call via x402 from the account wallet. Payment is kept if the provider fails after settlement (the error carries paidCallId); do not retry blindly.

ParameterTypeDescription
urls *array
highlights
livecrawlstring
summary
text

web_answer

Direct answer to a question with the source pages as citations (Exa). Costs 0.01 USDC per call via x402 from the account wallet. Payment is kept if the provider fails after settlement (the error carries paidCallId); do not retry blindly.

ParameterTypeDescription
query *stringQuestion to answer.
textbooleanInclude full text of each citation.

web_scrape

Scrape one URL rendered with JavaScript and converted to markdown (Firecrawl), optionally html, links or summary. Use when a plain fetch returns empty, JS-only or 403 content. Costs 0.015 USDC per call via x402 from the account wallet. Payment is kept if the provider fails after settlement (the error carries paidCallId); do not retry blindly.

ParameterTypeDescription
url *stringPage to scrape.
formatsarray
onlyMainContentbooleanStrip navigation, footers and boilerplate.
timeoutinteger
waitForintegerMilliseconds to wait for dynamic content.

web_search_scrape

Web search returning up to 20 results (Firecrawl), optionally with the full markdown of each result in the same call. Costs 0.03 USDC per call via x402 from the account wallet. Payment is kept if the provider fails after settlement (the error carries paidCallId); do not retry blindly.

ParameterTypeDescription
query *string
countrystringTwo-letter country code, e.g. us, fr.
langstringLanguage code, e.g. en, fr.
limitinteger
scrapeContentbooleanAlso scrape each result to markdown.
tbsstringTime filter, e.g. qdr:d (day), qdr:w (week), qdr:m (month).

google_news

Google News results (Serper) with source and date; time filter tbs (qdr:d/w/m). Costs 0.004 USDC per call via x402 from the account wallet. Payment is kept if the provider fails after settlement (the error carries paidCallId); do not retry blindly.

ParameterTypeDescription
q *stringGoogle query.
glstringCountry code (gl), e.g. us, fr, de.
hlstringInterface language (hl), e.g. en, fr.
numinteger
pageinteger
tbsstringTime filter, e.g. qdr:d, qdr:w, qdr:m, qdr:y.

google_images

Google Images results (Serper) with image URLs, dimensions and source pages. Costs 0.004 USDC per call via x402 from the account wallet. Payment is kept if the provider fails after settlement (the error carries paidCallId); do not retry blindly.

ParameterTypeDescription
q *stringGoogle query.
glstringCountry code (gl), e.g. us, fr, de.
hlstringInterface language (hl), e.g. en, fr.
numinteger
pageinteger
tbsstringTime filter, e.g. qdr:d, qdr:w, qdr:m, qdr:y.

google_shopping

Google Shopping products (Serper) with price, seller and rating. Costs 0.004 USDC per call via x402 from the account wallet. Payment is kept if the provider fails after settlement (the error carries paidCallId); do not retry blindly.

ParameterTypeDescription
q *stringGoogle query.
glstringCountry code (gl), e.g. us, fr, de.
hlstringInterface language (hl), e.g. en, fr.
numinteger
pageinteger
tbsstringTime filter, e.g. qdr:d, qdr:w, qdr:m, qdr:y.

render_pdf

Render self-contained HTML (inline CSS, data: images, no scripts or external resources, up to 1 MiB) into an A4 PDF (up to 20 pages / 10 MiB) and return its public URL. Costs 0.020 USDC per call via x402 from the account wallet. The URL is public and non-guessable, eligible for deletion after 7 days, and not renewable: do not render confidential content. If the response is render_effect_pending, the payment was kept and the error carries paidCallId: do not pay again.

ParameterTypeDescription
html *stringSelf-contained HTML document (UTF-8, up to 1 MiB) with inline CSS. No JavaScript, iframes, forms, <link>, external or relative resources: scripting is disabled and document requests are intercepted/ab…
filenamestringOptional filename used for a readable public URL slug, for example invoice-2026-09.pdf. Consecutive dots (..) anywhere are invalid.

balance

Returns the account's USDC wallet balance for x402 payments.

renew_upload

Extend a file's retention by 7 more days. Costs 0.005 USDC via x402.

ParameterTypeDescription
id *stringFile id

delete_upload

Delete a previously-uploaded file. Free.

ParameterTypeDescription
id *stringFile id

recent_uploads

List the account's recent uploads (non-deleted), most recent first. Returns id, url, size, mime, hash, originalFilename, tags, uploadedAt, expiresAt, renewalCount, txHash. Free.

ParameterTypeDescription
cursornumberOffset for pagination (default 0)
limitnumberMax items per page (1-100, default 20)