Reference
FAQ
Frequently asked questions about deco
Yes. Add the integration in the dashboard, regenerate types, and call it from a tool.
No. You can deploy server-only projects for API-first use cases.
Development Questions
- Define the tool in
server/main.tsusingcreateTool - Add it to the
withRuntimetools array - Run
npm run gento update types - Test it via the deco UI or RPC client
- Add the integration via the deco dashboard
- Run
npm run gento get typed interfaces - Use
env.INTEGRATION_NAME.method()in your tools
Technical Questions
Tools are single functions that perform specific tasks. Workflows orchestrate multiple tools with logic, conditions, and loops.
Yes. You can use Cloudflare D1, Workers KV, or connect to external databases like Supabase or Planetscale via HTTP APIs.
Integration Questions
Many common services like Slack, Gmail, Notion, Stripe, and more. Check the deco dashboard for the full list.
Yes, you can write custom tools that call any HTTP API using fetch .
Troubleshooting
- Check that it’s registered in
withRuntime - Verify your Zod schemas
- Check the logs for errors
- Ensure you ran
npm run genafter changes
- Make sure you called
.commit()at the end - Check that all steps are properly chained
- Verify your input/output schemas match
Found an error or want to improve this page?
Edit this page