### Answer
No, not all states require edges in a multi-prompt agent [(1) ](
) . States can exist without edges, which would make them terminal states that don't transition to other states [(2) ](
) .
In your "rating" state example, you could have a state with no edges that calls the rating function and then uses an end_call function to terminate the conversation . The multi-prompt structure allows each state to have its own focused prompt and state-specific functions [(1) ](
) .
According to the API documentation, each state can include tools (functions) that are specific to that state [(2) ](
) . You can define functions both at the agent level and at individual state levels, with state functions being limited to that specific state [(3) ](
) .
For better reliability with function calling, you might want to use clear, directive language in your prompts and give functions descriptive names with identifiers [(3) ](
) [(4) ](
) .