Muse Spark 1.3·续3
</details>
<details>
<summary>Web Search Grounding — Use Meta's Responses API web search grounding to answer a current-events question with citations.</summary>
const response = await env.AI.run(
'meta/muse-spark-1.3',
{
input: 'Who won the most recent Formula 1 race? Include the race date and cite the sources.',
tools: [{ type: 'web_search' }],
},
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "meta/muse-spark-1.3",
"input": {
"input": "Who won the most recent Formula 1 race? Include the race date and cite the sources.",
"tools": [
{
"type": "web_search"
}
]
}
}'
I'll search for the latest Formula 1 race results to identify the most recent winner.
{
"id": "resp_6ac7ad5f1bc61d4f2a4249e4",
"object": "response",
"created_at": 1791470943,
"model": "muse-spark-1.3",
"output": [
{
"type": "reasoning",
"id": "rs_6ac7ad5f1bc61d4f2a4249e4:rs_88dd68c5-6408-432d-b789-4d07fe55798b",
"summary": [],
"status": "completed"
},
{
"type": "message",
"id": "rs_a13f25f4-4c27-4e6d-bb27-4c78bd8058e5",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "I'll search for the latest Formula 1 race results to identify the most recent winner.",
"annotations": [],
"logprobs": []
}
],
"phase": "commentary",
"status": "completed"
},
{
"type": "web_search_call",
"id": "ws_call_0016fa58-99c9-40a6-9f75-4c6d1f87fb95",
"status": "completed",
"action": {
"type": "search",
"query": "most recent Formula 1 race winner October 2026"
}
},
{
"type": "web_search_call",
"id": "ws_call_3a556ebb-ba2e-4521-beea-7e055d503467",
"status": "completed",
"action": {
"type": "search",
"query": "Formula 1 2026 race results Singapore Grand Prix winner"
}
},
{
"type": "web_search_call",
"id": "ws_call_0152c7a7-e917-4ce5-9722-969275f9436d",
"status": "completed",
"action": {
"type": "search",
"query": "F1 calendar 2026 results October"
}
},
{
"type": "reasoning",
"id": "rs_6ac7ad5f1bc61d4f2a4249e4:rs_90bfb331-ed33-45c3-82c4-347167b46bdc",
"summary": [],
"status": "completed"
},
{
"type": "message",
"id": "rs_3c322074-709c-412d-88d0-644f05fb7d38",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Initial results point to Max Verstappen winning on October 4th. I'll open the official sources to verify the details.",
"annotations": [],
"logprobs": []
}
],
"phase": "commentary",
"status": "completed"
},
{
"type": "web_search_call",
"id": "ws_call_9c481115-cc36-41ec-82d3-0999d9344919",
"status": "completed",
"action": {
"type": "open_page",
"url": "https://www.formula1.com/en/video/2026-bahrain-grand-prix-verstappen-crosses-the-line-to-take-his-first-win-of-the-season.1878116592061332264"
}
},
{
"type": "web_search_call",
"id": "ws_call_8e19b920-79a4-41aa-a3cc-ca78ee0990bc",
"status": "completed",
"action": {
"type": "open_page",
"url": "https://www.sportsnet.ca/formula-1/article/verstappen-beats-antonelli-to-win-f1s-bahrain-gp-in-malaysia/"
}
},
{
"type": "web_search_call",
"id": "ws_call_3d4fa047-7226-4fad-a49a-968225be7456",
"status": "completed",
"action": {
"type": "open_page",
"url": "https://www.mightytips.com/news/sports-calendar-in-october/"
}
},
{
"type": "reasoning",
"id": "rs_6ac7ad5f1bc61d4f2a4249e4:rs_b8c254dd-14f4-4011-b53b-879d9e24cd48",
"summary": [],
"status": "completed"
},
{
"type": "message",
"id": "msg_8ab466bc-a006-4703-96c9-55b15352e7db",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "As of **October 8, 2026**, the most recent Formula 1 race was:\n\n**Winner: Max Verstappen – Red Bull**\n**Race: 2026 Bahrain Grand Prix – held at Sepang International Circuit in Malaysia**\n**Race date: Sunday, October 4, 2026**\n\n> “Max Verstappen takes the chequered flag to seal his – and Red Bull’s – first victory of the season, at the Sepang International Circuit in Malaysia.”\n\n> “Oct 04, 2026 11:09am UTC”\n\n> “Red Bull driver Max Verstappen of the Netherlands celebrates on the podium after winning the Bahrain Grand Prix in Sepang, Malaysia, Sunday, Oct. 4, 2026.”\n\n> “Verstappen took his first victory of an often-frustrating year for the four-time champion at Formula 1's Bahrain Grand Prix in Malaysia on Sunday.”\n\nIt was the latest completed round because October’s schedule was:\n\n> “F1: Bahrain Grand Prix (October 4, 2026), Singapore Grand Prix (October 11, 2026) & United States Grand Prix (October 25, 2026)”\n\n> “Singapore follows on October 9-11 before F1 heads to Austin”",
"annotations": [
{
"type": "url_citation",
"url": "https://www.formula1.com/en/video/2026-bahrain-grand-prix-verstappen-crosses-the-line-to-take-his-first-win-of-the-season.1878116592061332264",
"start_index": 227,
"end_index": 379,
"title": "2026 Bahrain Grand Prix: Verstappen crosses the line to take his first win of the season"
},
{
"type": "url_citation",
"url": "https://www.formula1.com/en/video/2026-bahrain-grand-prix-verstappen-crosses-the-line-to-take-his-first-win-of-the-season.1878116592061332264",
"start_index": 381,
"end_index": 409,
"title": "2026 Bahrain Grand Prix: Verstappen crosses the line to take his first win of the season"
},
{
"type": "url_citation",
"url": "https://www.sportsnet.ca/formula-1/article/verstappen-beats-antonelli-to-win-f1s-bahrain-gp-in-malaysia/",
"start_index": 560,
"end_index": 569,
"title": "Verstappen beats Antonelli to win F1's Bahrain GP in Malaysia"
},
{
"type": "url_citation",
"url": "https://www.sportsnet.ca/formula-1/article/verstappen-beats-antonelli-to-win-f1s-bahrain-gp-in-malaysia/",
"start_index": 571,
"end_index": 721,
"title": "Verstappen beats Antonelli to win F1's Bahrain GP in Malaysia"
},
{
"type": "url_citation",
"url": "https://www.mightytips.com/news/sports-calendar-in-october/",
"start_index": 790,
"end_index": 921,
"title": "Sports events in October 2026 to bet on"
},
{
"type": "url_citation",
"url": "https://www.mightytips.com/news/sports-calendar-in-october/",
"start_index": 923,
"end_index": 986,
"title": "Sports events in October 2026 to bet on"
}
],
"logprobs": []
}
],
"status": "completed"
}
],
"status": "completed",
"usage": {
"input_tokens": 12240,
"output_tokens": 1650,
"total_tokens": 13890,
"input_tokens_details": {
"cached_tokens": 3164
},
"output_tokens_details": {
"reasoning_tokens": 843
}
},
"top_logprobs": 0,
"temperature": 1,
"top_p": 1,
"service_tier": "auto",
"reasoning": {
"effort": "high"
},
"background": false,
"tools": [
{
"type": "web_search"
}
],
"tool_choice": "auto",
"truncation": "disabled",
"completed_at": 1791470966,
"error": null,
"incomplete_details": null,
"instructions": null,
"parallel_tool_calls": true,
"store": true
}
</details>
Parameters
▶input
one ofrequired
instructions
string
temperature
numberminimum: 0maximum: 2
max_output_tokens
numberexclusiveMinimum: 0
top_p
numberminimum: 0maximum: 1
stream
boolean
▶tools[]
array
tool_choice
▶text{}
object
▶reasoning{}
object
id
string
object
stringconst: response
created_at
number
model
string
▶output[]
array
output_text
string
status
stringenum: in_progress, completed, failed, incomplete
▶usage{}
object
API Schemas (Raw)
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ai/models/meta/muse-spark-1.3/#page","headline":"Muse Spark 1.3","description":"Muse Spark 1.3 is Meta's latest agentic and coding model, tuned for multi-step tool loops, browser tasks, software engineering, and long-horizon reasoning.","url":"https://developers.cloudflare.com/ai/models/meta/muse-spark-1.3/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Meta's most capable open-weight model, built for agentic coding. Show it a screenshot, chart, or photo alongside your request and it reasons over both to write working code, call tools, and carry multi-step tasks across a 1M-token context. title: Muse Spark Open image: https://developers.cloudflare.com/og-docs.png
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/llms.txt
Use this file to discover all available pages before exploring further.

