For the search-actors and get-actor-details tools, we shouldn’t just return raw JSON—we should return properly formatted Markdown.
The Markdown should include all the information visible on the Actor page (see example: https://apify.com/apify/rag-web-browser):
- [] search-actors (Markdown): title, URL, image, description, usage, pricing, etc.
- [] actor details (Markdown): the same set of information
Goal:
Present consistent and visually appealing information.
Rationale:
When returning JSON, the LLM sometimes omits important fields like the URL or image. Returning Markdown ensures all relevant details are shown clearly and consistently.