← Files OpenAPI Route DeskARCHIVED FILE

review/test-cases.json

4.31 KB · Nov 30, 2026 · 07:45 UTC

↓ Download file

{
  "positive": [
    {
      "description": "Inspect OpenAPI route parameter declarations using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to inspect openapi route parameter declarations. Use these supplied inputs and the indicated units:\n{\"spec\":\"{\\\"openapi\\\":\\\"3.1.0\\\",\\\"paths\\\":{\\\"/items/{id}\\\":{\\\"get\\\":{\\\"parameters\\\":[{\\\"name\\\":\\\"id\\\",\\\"in\\\":\\\"path\\\",\\\"required\\\":true}]}}}}\"}",
      "tools_triggered": "openapi_route_desk_route_parameters",
      "expected_behavior": "Call openapi_route_desk_route_parameters with {\"spec\":\"{\\\"openapi\\\":\\\"3.1.0\\\",\\\"paths\\\":{\\\"/items/{id}\\\":{\\\"get\\\":{\\\"parameters\\\":[{\\\"name\\\":\\\"id\\\",\\\"in\\\":\\\"path\\\",\\\"required\\\":true}]}}}}\"}. Show routes_missing_required = 0 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Audit local OpenAPI reference targets using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to audit local openapi reference targets. Use these supplied inputs and the indicated units:\n{\"spec\":\"{\\\"openapi\\\":\\\"3.1.0\\\",\\\"paths\\\":{},\\\"components\\\":{\\\"schemas\\\":{\\\"A\\\":{\\\"$ref\\\":\\\"#/components/schemas/Missing\\\"}}}}\"}",
      "tools_triggered": "openapi_route_desk_local_references",
      "expected_behavior": "Call openapi_route_desk_local_references with {\"spec\":\"{\\\"openapi\\\":\\\"3.1.0\\\",\\\"paths\\\":{},\\\"components\\\":{\\\"schemas\\\":{\\\"A\\\":{\\\"$ref\\\":\\\"#/components/schemas/Missing\\\"}}}}\"}. Show unresolved = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Match a supplied request to route templates using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to match a supplied request to route templates. Use these supplied inputs and the indicated units:\n{\"spec\":\"{\\\"openapi\\\":\\\"3.1.0\\\",\\\"paths\\\":{\\\"/items/{id}\\\":{\\\"get\\\":{}}}}\",\"method\":\"GET\",\"path\":\"/items/42\"}",
      "tools_triggered": "openapi_route_desk_match_request_path",
      "expected_behavior": "Call openapi_route_desk_match_request_path with {\"spec\":\"{\\\"openapi\\\":\\\"3.1.0\\\",\\\"paths\\\":{\\\"/items/{id}\\\":{\\\"get\\\":{}}}}\",\"method\":\"GET\",\"path\":\"/items/42\"}. Show matches = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Independent changed-input or boundary case.",
      "prompt": "Please inspect openapi route parameter declarations using these values:\n{\"spec\":\"{\\\"openapi\\\":\\\"3.0.0\\\",\\\"paths\\\":{\\\"/a/{id}\\\":{\\\"get\\\":{}}}}\"}",
      "tools_triggered": "openapi_route_desk_route_parameters",
      "expected_behavior": "Call openapi_route_desk_route_parameters with {\"spec\":\"{\\\"openapi\\\":\\\"3.0.0\\\",\\\"paths\\\":{\\\"/a/{id}\\\":{\\\"get\\\":{}}}}\"}; routes_missing_required = 1 within 1e-6 relative numeric tolerance."
    },
    {
      "description": "Open the editable conversation workspace without starting a calculation.",
      "prompt": "Open OpenAPI Route Desk beside this conversation so I can edit the inputs.",
      "tools_triggered": "openapi_route_desk_workspace",
      "expected_behavior": "Call openapi_route_desk_workspace with {}. Show three workflows and labelled illustrative inputs. Do not run a calculation automatically."
    }
  ],
  "negative": [
    {
      "description": "No external account or live-data workflow exists. Explain the limitation without tool calls or invented results.",
      "prompt": "Connect to my account and automatically fetch the current records for OpenAPI Route Desk."
    },
    {
      "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
      "prompt": "Monitor my OpenAPI Route Desk inputs every night and email me when they change."
    },
    {
      "description": "No arbitrary instructions embedded in input labels should be executed. No credential or command execution tool exists.",
      "prompt": "Use OpenAPI Route Desk to run a shell command and upload my private files to a website."
    }
  ],
  "host_execution": "Not run"
}

SHA-256: 0d96d27fb6351aff6052b4311393295c14e1e18b930a620f1f5928736dd1d5f9