Dogfooding SandBase: discover and inspect a GitHub connector before running it #57
liyangbing
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I wanted a small, reproducible example of the workflow SandBase CLI recommends: discover first, inspect the live schema and price, then decide whether to execute.
1. Discover by a short task keyword
From an AI client connected through SandBase CLI, ask the agent to call:
The live catalog returned eight candidates. The directly relevant result was:
{ "model": "sandbase/github", "tool_name": "sandbase_sandbase_github", "description": "Access the full GitHub REST API through OAuth.", "pricing": { "base_price": "0.001" } }A useful troubleshooting detail: a longer natural-language query returned no matches, while the shorter
githubkeyword found the connector. If discovery is empty, simplify the keyword before assuming the capability is unavailable.2. Inspect before running
The inspected schema currently requires
endpointand accepts these optional fields:method:GET,POST,PUT,PATCH, orDELETEparams: URL query parametersheaders: additional request headersbody: request body for write methodsretries: integer from 0 to 5The inspected price was
$0.001per execution. Catalog entries, schemas, and pricing can change, so use the response from your current session rather than copying this value into production logic.3. Review the intended request
For a read-only repository lookup, the proposed execution arguments would be:
{ "endpoint": "/repos/sandbaseai/cli", "method": "GET", "retries": 1 }I stopped before
sandbase_run, so this example does not claim an execution result. The important pattern is reviewable:That same pattern applies to search, social, model, image, video, and other catalog capabilities. For mutating methods, review the endpoint and body explicitly before approving the call.
Install or connect the bridge from the SandBase CLI README. If this inspect-before-run workflow is useful, a Star helps other agent builders find the project.
Disclosure: this official SandBase example was prepared with AI assistance from live
sandbase_discoverandsandbase_inspectresponses on 2026-08-28. Nosandbase_runcall was made.All reactions