Loading...
Loading...
Catalyst serverless functions — all 7 types (Basic I/O, Advanced I/O, Event, Cron, Job, Integration, Browser Logic), handler signatures, catalyst-config.json, Security Rules, API Gateway routing, file uploads, busboy, Express middleware, environment variables, function URL, and function testing. Requires MCP connection — check for CatalystbyZoho_* tools before any operation. Trigger on 'write a function', 'catalyst function', 'API Gateway', 'Security Rules', 'function not found', 'function returns 401', 'busboy', 'middleware', 'function URL', 'environment variable in function', 'duplicate CORS headers', 'CORS error in browser', 'Access-Control-Allow-Origin multiple values', 'function URL 404', 'execute suffix', 'function timeout', 'function hangs', or any function type question. Do NOT use for persistent servers, long-running processes, or Docker deployments — use catalyst-appsail instead.
npx skill4agent add catalystbyzoho/agent-skills catalyst-functionscatalyst initfunctions:add.catalystrccatalyst.jsoncatalyst init --org <orgId> -p <projectId> -nicatalyst initcatalyst functions:add --name <name> --type <type> --stack <stack> -ni
# e.g. catalyst functions:add --name api --type aio --stack node20 -nireferences/functions-basics.mdcatalyst-config.jsonreferences/functions-advanced.mdreferences/api-gateway.mdcatalyst-config.jsondeploymentexecutionfunctionentry_pointauthenticationoptional"authentication": "required"catalyst-config.jsoncatalyst deploy --only functions:<function-name>catalyst functions:addcatalyst deploy --only functions:<function-name>functions:<name>catalyst deploy --only functions| Reference | Load when the query is about… |
|---|---|
| Start here for any function question. Function type selection, Basic I/O and Advanced I/O handler signatures, |
| Advanced I/O patterns only. Express vs raw-http template differences, file uploads (busboy), streaming files from Stratus, error handling patterns, CORS for local dev, local testing, function chaining, ZCQL result unwrapping, HTTP payload limits |
| Event, Cron, Job, or Integration functions. Handler templates for all background/scheduled types, SDK component reference, retry behavior, cold start data, and the full common errors table |
| API Gateway config only. Enable/disable gateway, routing rules, rate limiting, CORS via gateway |