### Answer
Based on the documentation, no - you should not put system prompts in knowledge bases [(1) ](
) . The knowledge base is specifically designed to provide contextual information that your agent can access during calls, not for instructions or prompts .
The documentation clearly states that "the knowledge base is intended to supply supporting information to the agent, so it should not be used to provide instructions or prompts to the agent. Instead, use the agent's prompt for that purpose" .
For system prompts and function tool instructions, you should use:
1.
General prompt - This is where you put your main system instructions [(2) ](
)
2.
State prompts - For state-specific instructions if using multi-prompt agents
3.
Function descriptions - When configuring individual tools, you can add specific instructions about when to use each function [(3) ](
)
For example, when adding a custom function, it's recommended to "include in the prompt explicitly when is the best time to invoke the custom function" . Similarly, for end call functionality, you would "enhance the agent's understanding by incorporating the end call conditions into the prompt" [(4) ](
) .
The knowledge base will automatically be retrieved and appended to the LLM prompt under the header "///## Related Knowledge Base Contexts" when relevant information is found [(1) ](
) , but it shouldn't contain your core system instructions.