mcpField
P
plan_route

plan_route

github.com/trpc-groupDevelopment1.9k41 installsUpdated today
Repository

About plan_route

A skill for the dynamic structured output demo that returns route data using a JSON Schema.

Key features

  1. 01Outputs route data to a JSON Schema

Use cases

  1. 01Generating route results in the dynamic structured output demo

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/trpc-group/trpc-agent-go --skill plan_route

After installing, type/plan_routein Claude Code to confirm it loaded.

Bundled filesresult.json

Details

From the project README

plan_route

This skill is used by the dynamic structured output demo.

Output JSON Schema

{
  "type": "object",
  "properties": {
    "route": {
      "type": "string",
      "description": "Route name"
    },
    "distance_km": {
      "type": "number",
      "description": "Distance in kilometers"
    },
    "eta_min": {
      "type": "integer",
      "description": "ETA in minutes"
    }
  },
  "required": [
    "route",
    "distance_km",
    "eta_min"
  ],
  "additionalProperties": false
}

Commands

Print JSON result to stdout:

cat result.json

Comments

Markdown supported