plan_route

Plan a route and return route name, distance_km, and eta_min in deterministic JSON.

1.6k|289|Updated May 14, 2025
One-click install
npx skills add https://github.com/trpc-group/trpc-agent-go --skill plan-route
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: plan_route
Source: https://github.com/trpc-group/trpc-agent-go/tree/main/examples/skilldynamicschema/skills/plan_route
Command: npx skills add https://github.com/trpc-group/trpc-agent-go --skill plan-route

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a deterministic way to plan a route and return key metrics like distance and ETA in a standard JSON format, reducing manual calculation and error-prone planning.

Core Features & Use Cases

  • Deterministic routing output: route, distance_km, eta_min.
  • Ideal for logistics, delivery planning, and AI-assisted route evaluation.

Quick Start

Use the plan_route skill to compute a route from origin to destination and obtain distance_km and eta_min.

Frequently Asked Questions about plan_route

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a deterministic JSON route plan with distance and ETA?▼

To get a deterministic route plan, use this skill to compute metrics and return a strict JSON schema containing the route name, distance_km, and eta_min. This ensures consistent routing outputs for automation scenarios.

Can I use deterministic route planning for logistics and delivery automation?▼

Yes, deterministic route planning is ideal for logistics, delivery planning, and AI-assisted route evaluation. It enforces a strict output schema with distance_km and eta_min, providing consistent metrics for automated workflows.

What fields are included in the JSON output for route distance and ETA?▼

The JSON output for route distance and ETA includes three strict fields: route, distance_km, and eta_min. This schema enforces consistent data structure for testing and integration.

Does this route planning skill require any external dependencies or components?▼

No, this route planning skill requires no external dependencies or components to function. It natively computes the route, distance_km, and eta_min, returning a plain deterministic JSON result for testing.

Why does my automated workflow need a strict JSON schema for route metrics?▼

A strict JSON schema for route metrics is needed to reduce manual calculation and prevent errors in automated workflows. By enforcing fields like distance_km and eta_min, the deterministic output guarantees consistent parsing and integration.

What is the best way to test route distance and ETA calculations in a deterministic format?▼

The best way to test route distance and ETA calculations is using a skill that supports a plain example result within a strict JSON schema. This provides deterministic distance_km and eta_min values for reliable testing.