When a chat request needs an action, the result must exist outside the model's reply. In AnythingLLM Docker on Linux, an agent that claims to have created a file without producing a downloadable file has not completed the tool request.

Tool access depends on the workspace's agent model and the skills enabled in the instance. Ordinary chat can work while tool calls fail, and naming a tool in a prompt cannot enable a disabled skill. An empty reply, a refusal, or a claim of success without the requested result all need investigation.

An existing workspace, a working Ollama connection and permission to manage instance-wide skills are required. A harmless text-file request separates a missing capability from a model merely describing an action. The same prompt and model in a fresh thread make the before-and-after comparison meaningful.

Steps to fix an AnythingLLM agent not using tools:

  1. Identify the failed tool request in the affected workspace.

    The pictured request asks for orbit-check.txt containing only ORBIT-8832. It finishes with an empty reply and no file card. A Thought for duration alone does not prove that a tool ran. If a downloadable file already exists, its filename and contents determine whether this particular request succeeded; a missing-skill repair is unnecessary when both match.

  2. Open the workspace settings with the gear beside its name.
  3. Open Chat Settings.
  4. Check whether Agent is selected under Chat mode.

    Agent mode routes ordinary prompts to the agent when the provider and model support native tool calling. With no native support, an explicit @agent starts an agent session. If Chat or Query is selected, the chat-mode guide covers selecting Agent; a repeat of the original request must then produce an actual tool result before that change counts as a fix. If Agent is already selected, continue to the agent provider.
    Related: How to select a chat mode in AnythingLLM

  5. Open Agent Configuration.
  6. Inspect Workspace Agent LLM Provider for an unexpected model override.

    System Default inherits the workspace or system LLM; this workspace uses the installed local-agent:latest model shown in chat. An explicit provider can use a different agent model from ordinary chat. Your installed tool-capable model can have another name. An unavailable model, connection error, or model that cannot form tool calls is a provider/model blocker to resolve before changing skills. A successful ordinary reply does not clear that blocker.
    Related: How to use tool calling with the Ollama API

  7. Open Configure Agent Skills.

    Skill changes apply across all workspaces. Enabling Document Creation lets agents generate downloadable files; disabling document formats can interrupt requests in other workspaces. A text-only diagnostic selection needs agreement from anyone relying on those formats in a shared instance.

  8. Open Document Creation in the skill list.

    Off explains why the agent cannot use this skill. If the required skill is already On, its individual tools and required configuration still matter. A different requested action needs its matching skill rather than Document Creation.

  9. Enable Document Creation with its upper-right switch.
  10. Disable PowerPoint Presentations under Available Document Types for the text-only test.

    Text Files starts enabled and remains on. Fewer exposed tools reduce the context needed by a small model. The selection here changes document creation formats, rather than enabling unrelated skills.

  11. Disable PDF Documents.
  12. Disable Excel Spreadsheets.
  13. Disable Word Documents.
  14. Click Save in the Unsaved Changes bar.
  15. Reload the saved Agent Skills page.

    Document Creation should remain On. A reverted selection means the repair was not saved; it needs saving before a new request can test it.

  16. Return to workspaces with the back arrow at the bottom of the settings sidebar.
  17. Click New Thread beneath the affected workspace.

    A fresh thread excludes the earlier refusal or empty reply from the model's conversation history.

  18. Enter the original text-file request in Send a message.
    Create a text file named orbit-check.txt containing exactly ORBIT-8832. Use the text-file creation tool.

    The prompt, requested filename, contents and selected model match the failed request. Native Agent mode needs no @agent prefix for this model.

  19. Send the request with the upward-arrow button.
  20. Approve the create-text-file request for orbit-check.txt.

    Approval runs the displayed action. A different tool or unexpected filename is a reason to reject the request. One-time approval does not require Always allow create-text-file.

  21. Download orbit-check.txt from the completed file card.

    The conversation must show the file-creation tool and a downloadable result. No invocation points back to mode, enabled skills, model capability or context capacity; a tool error points to the named tool's configuration or execution instead. If the skill remains enabled but the model refuses or invents a result, the AnythingLLM tool troubleshooting FAQ covers model and context limitations.

  22. Check the downloaded file's contents from your browser's download directory.
    $ cat orbit-check.txt
    ORBIT-8832

    The command assumes the download directory is your terminal's current directory; the full path to the downloaded file can replace orbit-check.txt. Its contents should be only ORBIT-8832. A missing file, wrong filename or different contents means the original request is still failing, even if the agent says it succeeded.

Share this guide