Is there any way to treat the result of a function/tool call as a system message to prompt the AI on how to proceed next?