Summary
Replace the current fetch_document tool with a generic fetch_resource tool that accepts a configurable backend URL. This allows fetching from any HTTP service, not just the document service.
Motivation
Currently fetch_document is hardcoded to a specific document service endpoint. A generic tool would make DocsClaw useful for any backend — APIs, search services, knowledge bases, etc.
Acceptance criteria
From roadmap: docs/slides/docsclaw-intro.html, slide 6
Summary
Replace the current
fetch_documenttool with a genericfetch_resourcetool that accepts a configurable backend URL. This allows fetching from any HTTP service, not just the document service.Motivation
Currently
fetch_documentis hardcoded to a specific document service endpoint. A generic tool would make DocsClaw useful for any backend — APIs, search services, knowledge bases, etc.Acceptance criteria
fetch_resourcetool with configurable base URL viaagent-config.yamlfetch_documentconfigurationsFrom roadmap: docs/slides/docsclaw-intro.html, slide 6