CreatorWeave has 30+ agent tools. A tool that generates a Table of Contents from a Markdown file would be useful for document workflows.
What to do:
- Study an existing simple tool:
web/src/agent/tools/ls.tool.ts
- Create
web/src/agent/tools/markdown-toc.tool.ts:
- Accept a file path or content as input
- Parse markdown headings (## Title, ### Subtitle, etc.)
- Generate a linked TOC
- Return the TOC as a string
- Register the tool in the tool registry
- Add tests in
web/src/agent/tools/__tests__/markdown-toc.tool.test.ts
Skills needed: TypeScript, Markdown parsing, understanding of the tool system
Reference:
web/src/agent/tools/ls.tool.ts
web/src/agent/tools/tool-types.ts
Estimated time: 2-3 hours
CreatorWeave has 30+ agent tools. A tool that generates a Table of Contents from a Markdown file would be useful for document workflows.
What to do:
web/src/agent/tools/ls.tool.tsweb/src/agent/tools/markdown-toc.tool.ts:web/src/agent/tools/__tests__/markdown-toc.tool.test.tsSkills needed: TypeScript, Markdown parsing, understanding of the tool system
Reference:
web/src/agent/tools/ls.tool.tsweb/src/agent/tools/tool-types.tsEstimated time: 2-3 hours