# Text Template added to 3rd Message of tool results

**URL:** <https://community.crewai.com/t/text-template-added-to-3rd-message-of-tool-results/4516>\
**Category:** CrewAI Community Support\
**Created:** [March 8, 2025, 7:42pm UTC](https://community.crewai.com/t/text-template-added-to-3rd-message-of-tool-results/4516 "2025-03-08T19:42:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![igi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/igi/32/2625_2.png) [@igi](https://community.crewai.com/u/igi)\
**Post date:** [March 8, 2025, 7:42pm UTC](https://community.crewai.com/t/text-template-added-to-3rd-message-of-tool-results/4516/1 "2025-03-08T19:42:00Z")

</div>

I’m currently working on a task where my agent is set to perform 5 search queries using DuckDuckGo. Each result from these queries is appended to the agent’s message data structure.

I’ve observed that every third search result includes a text template pulled from `slices['tools']`, which is located in the file `crewai/translations/en.json`.

Here is the Slice.tool-template text:

````
<Result output of SearchTool> ....

You ONLY have access to the following tools, and should NEVER make up tools that are not listed here:

Tool Name: DuckDuckGo Search
Tool Arguments: {{'query': {{'description': 'The term you want to search for.', 'type': 'str'}}}}
Tool Description: Useful for finding up-to-date information from the web.

IMPORTANT: Use the following format in your response:

```
Thought: you should always think about what to do
Action: the action to take, only one name of [DuckDuckGo Search], just the name, exactly as it's written.
Action Input: the input to the action, just a simple JSON object, enclosed in curly braces, using \" to wrap keys and values.
Observation: the result of the action
```

Once all necessary information is gathered, return the following format:

```
Thought: I now know the final answer
Final Answer: the final answer to the original input question
```

````

Has anyone else come across a similar issue? Any insights or suggestions on why this might be happening would be greatly appreciated! I would like to turn this “feature” or “bug” off because it confuses the LLM regarding the next search query to perform.

```auto
As a debug background here the structure of the agents messages list:
    message[0]: Storing the System Prompt (=Agents configuration)
    message[1]: Storing the User Prompt (=Task configuration)
    message[2]: Storing Assistant Result (=here the DuckDuckGo Search Result for Query 1)
    message[3]: Storing Assistant Result (=here the DuckDuckGo Search Result for Query 2)
    message[4]: Storing Assistant Result (=here the DuckDuckGo Search Result for Query 3 + Slice.tool-Template )
    message[5]: Storing Assistant Result (=here the DuckDuckGo Search Result for Query 4)
    message[6]: Storing Assistant Result (=here the DuckDuckGo Search Result for Query 5)
    message[7]: Storing Assistant Result (=here the DuckDuckGo Search Result for Query 6 + Slice.tool-Template )
    ...

```

Best  
Igi
