Gpt-4o-mini fails to stop the function calling after task completed

is this the only thing you return after you’ve processed the function call?

{
    "ids": [
         148
    ]
}

if so, can you add something like, “status”: “deleted”.
and when it tries to call again and since 148 no longer exists, send “status”: “item not found”.