How to add tool call response later when response is recieved as callback from third party tool

One of my toolkit has a tool call which submits a request to some third party tool which will send response as a callback at the sometime in future. Once I receive the callback response, I need to add it to history and trigger our Team agent again. But once I add it like this:

    message = Message(role="tool", content="Callback received successfully.")
    team.print_response(message)

I can’t add it as role tool because I’m getting below error:

{"error": "Invalid parameter: messages with role 'tool' must be a response to a preceeding message with 'tool_calls'."}

How to handle this case ?

@Monali @Dirk @ayush @monalisha @kausmos please assist me with this. This is a blocker and it is super urgent.

Hey @MahorShekhar
Thank you for reaching and using Agno.
Our Time is heads down gearing up for a launch - we will try to get back to you asap

Hi @MahorShekhar,
Thank you for bringing this up. This is something our team is actively working on, and we’re aiming to support it as soon as we’re through with our current set of priorities. Appreciate your patience in the meantime!