Max invocation count tool rule

A new tool rule has been introduced for configuring a max step count per tool rule.

1from letta_client import Letta
2client = Letta(
3 token="YOUR_API_KEY",
4)
5client.agents.create(
6 model="openai/gpt-4o-mini",
7 embedding="openai/text-embedding-ada-002",
8 tool_rules=[
9 MaxCountPerStepToolRule(
10 tool_name="manage_inventory",
11 max_count_limit=10
12 )
13 ]
14)