"tools": [{"type": "web_search", "web_search": {"enable": true, "search_result": true}}]glm-5.3glm-5.3、glm-5.2、glm-5.3-flashx、glm-5.3-flashcurl --location 'https://4sapi.org/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: {{YOUR API KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"model": "glm-5.3",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "中国队在巴黎奥运会获得了多少枚金牌"
}
],
"tools": [
{
"type": "web_search",
"web_search": {
"enable": true,
"search_result": true
}
}
]
}'