@@ -1144,7 +1144,7 @@ async def handle_tool_calls(client, tool_calls):
11441144 },
11451145 },
11461146 },
1147- format = "openai" ,
1147+ schema_format = "openai" ,
11481148 )
11491149
11501150 # === Working Memory Tool Integration ===
@@ -1490,7 +1490,7 @@ def get_working_memory_tool_schema(cls) -> ToolSchema:
14901490 },
14911491 },
14921492 },
1493- format = "openai" ,
1493+ schema_format = "openai" ,
14941494 )
14951495
14961496 @classmethod
@@ -1539,7 +1539,7 @@ def get_add_memory_tool_schema(cls) -> ToolSchema:
15391539 },
15401540 },
15411541 },
1542- format = "openai" ,
1542+ schema_format = "openai" ,
15431543 )
15441544
15451545 @classmethod
@@ -1574,7 +1574,7 @@ def get_update_memory_data_tool_schema(cls) -> ToolSchema:
15741574 },
15751575 },
15761576 },
1577- format = "openai" ,
1577+ schema_format = "openai" ,
15781578 )
15791579
15801580 @classmethod
@@ -1603,7 +1603,7 @@ def get_long_term_memory_tool_schema(cls) -> ToolSchema:
16031603 },
16041604 },
16051605 },
1606- format = "openai" ,
1606+ schema_format = "openai" ,
16071607 )
16081608
16091609 @classmethod
@@ -1672,7 +1672,7 @@ def edit_long_term_memory_tool_schema(cls) -> ToolSchema:
16721672 },
16731673 },
16741674 },
1675- format = "openai" ,
1675+ schema_format = "openai" ,
16761676 )
16771677
16781678 @classmethod
@@ -1736,7 +1736,7 @@ def create_long_term_memory_tool_schema(cls) -> ToolSchema:
17361736 },
17371737 },
17381738 },
1739- format = "openai" ,
1739+ schema_format = "openai" ,
17401740 )
17411741
17421742 @classmethod
@@ -1766,7 +1766,7 @@ def delete_long_term_memories_tool_schema(cls) -> ToolSchema:
17661766 },
17671767 },
17681768 },
1769- format = "openai" ,
1769+ schema_format = "openai" ,
17701770 )
17711771
17721772 @classmethod
@@ -1861,7 +1861,7 @@ def get_current_datetime_tool_schema(cls) -> ToolSchema:
18611861 "parameters" : {"type" : "object" , "properties" : {}, "required" : []},
18621862 },
18631863 },
1864- format = "openai" ,
1864+ schema_format = "openai" ,
18651865 )
18661866
18671867 @classmethod
@@ -1946,7 +1946,7 @@ def _convert_openai_to_anthropic_schema(
19461946 "description" : function_def ["description" ],
19471947 "input_schema" : function_def ["parameters" ],
19481948 },
1949- format = "anthropic" ,
1949+ schema_format = "anthropic" ,
19501950 )
19511951
19521952 # === Function Call Resolution ===
0 commit comments