Why can't I make API calls through my Assistant?

Hey guys I feel like I’m missing something that should be simple.
I’m trying to make an Assistant that knows how to connect me to Todoist and get me the task list.
I made a function that should work properly with my API and everything, but I keep getting an error from the assistant.

that is the function that I am using -

and that is the answer that I get when I am asking to get the list of tasks I have -

It also happens when I ask to get the task list.
Now, I don’t know if this is related but it seems like it’s making an API call with a different Token than what I’m giving it.

In short, what am I missing? How do I do this simple operation?

Thank you!

A tool can only return argument text to you.

The API cannot access the internet.