@devries-cameron20 / composio-1 / commits / 9ceaba80a
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Docs: Femove provider examples for each of 1000+ toolkits pages to reduce the doc size (#2277)

Sushmitha Mallesh committed Dec 16, 2025 at 17:00 UTC 9ceaba80a1ceb087f719c86782b0a8a8e506761a
1 file changed +2 -58
fern/generators/tool_doc_generator/main.py
+2 -58
@@ -412,64 +412,8 @@ Use the dashboard to create an auth config for the {app_name} toolkit. This allo
412 self._blocks.append("## Tools")
413 self._blocks.append("### Executing tools")
414 self._blocks.append(f"""To prototype you can execute some tools to see the responses and working on the [{app_name} toolkit's playground](https://app.composio.dev/app/{app_name})""")
415 -
416 - # Prepare template variables
417 - template_vars = {
418 - "toolkit_name": app_name,
419 - "toolkit_slug": app_slug.lower(),
420 - "user_id": "user@example.com"
421 - }
422 -
423 - # Generate code blocks from templates
424 - openai_block = MDX.as_code_block_from_template(
425 - "templates/python/openai_tools.py",
426 - template_vars=template_vars,
427 - title="Python",
428 - max_lines=40,
429 - word_wrap=True
430 - )
431 -
432 - anthropic_block = MDX.as_code_block_from_template(
433 - "templates/typescript/anthropic_tools.ts",
434 - template_vars=template_vars,
435 - title="TypeScript",
436 - max_lines=40,
437 - word_wrap=True
438 - )
439 -
440 - google_block = MDX.as_code_block_from_template(
441 - "templates/python/google_tools.py",
442 - template_vars=template_vars,
443 - title="Python",
444 - max_lines=40,
445 - word_wrap=True
446 - )
447 -
448 - vercel_block = MDX.as_code_block_from_template(
449 - "templates/typescript/vercel_tools.ts",
450 - template_vars=template_vars,
451 - title="TypeScript",
452 - max_lines=40,
453 - word_wrap=True
454 - )
455 -
456 - # Build the tabs with populated code blocks
457 - self._blocks.append(
458 - f"""<Tabs>
459 -<Tab title="OpenAI (Python)">
460 -{openai_block}
461 -</Tab>
462 -<Tab title="Anthropic (TypeScript)">
463 -{anthropic_block}
464 -</Tab>
465 -<Tab title="Google (Python)">
466 -{google_block}
467 -</Tab>
468 -<Tab title="Vercel (TypeScript)">
469 -{vercel_block}
470 -</Tab>
471 -</Tabs>"""
472 - )
415 + self._blocks.append("")
416 + self._blocks.append("For code examples, see the [Tool calling guide](/tool-calling/executing-tool-calls) and [Provider examples](/provider-apis).")
417 self._blocks.append("### Tool List")
418
419 action_contents = []