PREFLIGHT — URL Routing for AI Agents

v0.7.6
io.github.GSterlingPress/preflight Checked 4 days ago Published 2 months ago

Choose HTTP, browser, machine endpoint, or avoid before an agent visits an unfamiliar URL.

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

preflight_check Check URL Before Fetching

Before fetching, crawling, scraping, opening, or browser-rendering an unfamiliar http/https URL, call this with the ACTUAL destination URL. Returns the best first route: HTTP, BROWSER, MACHINE_ENDPOINT, or AVOID, plus access/JS/size/cost hints. Do not substitute example.com when a real task URL is available.

ParameterTypeDescription
url *stringActual absolute http/https destination URL from the current task. Use before the first fetch or browser request.

preflight_feedback Report PREFLIGHT Outcome

After following a PREFLIGHT recommendation, report whether the chosen route worked so PREFLIGHT can improve future recommendations.

ParameterTypeDescription
outcome *string
route *string
url *string
latencyMsnumber