Stop Llama 4 Inventing Tools in System Prompts
Meta's Llama 4 tool-calling specification requires placing function definitions in JSON format inside the system message alongside strict guidelines prohibiting invented tools.
<|begin_of_text|><|header_start|>system<|header_end|> Function Definitions: {{FUNCTIONS_JSON}} Strict Guidelines: You must only call functions defined above. Prohibition of invented tools: never fabricate function names or parameters not present in Function Definitions.<|eot|>Fill in the blanks (1)
Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.
No comments yet.