list_affiliate_programs
Browse affiliate programs by category to see names, commission rates, and networks. Use this to find programs before creating tracked links.
Instructions
Browse available affiliate programs in the AgentFuse catalog. Returns each program's name, slug, category, commission rate, and network. Use this to discover programs before generating tracked links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Filter by category slug. Examples: productivity, marketing, ai-voice, ai-writing, email-marketing, newsletter, automation, marketing-automation, seo-analytics, design, developer-tools. Omit to return all categories. | |
| limit | No | Number of programs to return (default: 50, max: 100). | |
| cursor | No | Pagination cursor returned from a previous call. Pass this to get the next page. |
Implementation Reference
- src/index.js:319-327 (handler)Handler function that calls AgentFuse REST API GET /api/catalog with optional query params (category, limit, cursor).
async function handleListAffiliatePrograms(args) { const params = new URLSearchParams(); if (args.limit) params.set("limit", String(args.limit)); if (args.cursor) params.set("cursor", args.cursor); if (args.category) params.set("category", args.category); const qs = params.toString(); return agentfuse("GET", `/api/catalog${qs ? "?" + qs : ""}`); } - src/index.js:86-114 (schema)Schema definition for list_affiliate_programs with optional inputs: category (string filter), limit (number 1-100), cursor (string for pagination).
name: "list_affiliate_programs", description: "Browse available affiliate programs in the AgentFuse catalog. " + "Returns each program's name, slug, category, commission rate, and network. " + "Use this to discover programs before generating tracked links.", inputSchema: { type: "object", properties: { category: { type: "string", description: "Filter by category slug. Examples: productivity, marketing, ai-voice, ai-writing, " + "email-marketing, newsletter, automation, marketing-automation, seo-analytics, " + "design, developer-tools. Omit to return all categories.", }, limit: { type: "number", description: "Number of programs to return (default: 50, max: 100).", minimum: 1, maximum: 100, }, cursor: { type: "string", description: "Pagination cursor returned from a previous call. Pass this to get the next page.", }, }, required: [], }, - src/index.js:447-447 (registration)Registration of the tool handler in the HANDLERS dispatch map, mapping the tool name to the handler function.
list_affiliate_programs: handleListAffiliatePrograms,