OC
toolOpenCode
Runs a coding agent through a headless OpenAPI server with sessions, messages, files, providers, and events.
What it provides
Connect an existing HTTPS deployment, with a scoped token where the service requires one. Heavy jobs stay on that service instead of using bot memory.
Connection requirements
A headless OpenCode server protected by HTTP authentication
- Protocol
- REST / OpenAPI
- Endpoint
https://opencode.example.com- Authentication
- Choose the mode required by your service
Example calls
Open official setup guide ↗get /sessionpost /session {"title":"OpenClaw task"}Where to add it
Open Dashboard Tools, select a running OpenClaw or Hermes instance, then use the card’s Install or Connect action. External services may require an HTTPS endpoint and credentials; the dashboard shows those fields before anything is saved.