Tool tree
Indonesia weather intelligence with WebMCP agent control.
Implementation
gradeNot graded
gradeNot graded
follow_weather_promptAction
Interpret a user natural-language weather request for Indonesia, apply it to the page, and return the structured decision. Use this when the user asks for an outcome such as a safe/dry travel window, rain timing, a city comparison, or a specific forecast horizon. The tool changes visible page state to match the request.
View tool JSON
{
"name": "follow_weather_prompt",
"kind": "act",
"impl": "imperative",
"description": "Interpret a user natural-language weather request for Indonesia, apply it to the page, and return the structured decision. Use this when the user asks for an outcome such as a safe/dry travel window, rain timing, a city comparison, or a specific forecast horizon. The tool changes visible page state to match the request.",
"inputSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "The exact natural-language weather request from the user. Examples: \"Find the safest dry window to travel in Bandung this afternoon\" or \"Compare Jakarta and Surabaya for rain today.\""
}
},
"required": [
"prompt"
]
}
}get_indonesia_weatherAnswer
Get structured current conditions and hourly forecast for an Indonesian city. The page focuses the requested city and forecast horizon.
View tool JSON
{
"name": "get_indonesia_weather",
"kind": "answer",
"impl": "imperative",
"description": "Get structured current conditions and hourly forecast for an Indonesian city. The page focuses the requested city and forecast horizon.",
"inputSchema": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name, for example Jakarta or Denpasar."
},
"hours": {
"type": "integer",
"minimum": 1,
"maximum": 48,
"description": "Number of forecast hours to return and display."
}
},
"required": [
"city"
]
}
}compare_indonesia_weatherAction
Compare current weather across several Indonesian cities and update the page with a decision-oriented comparison.
View tool JSON
{
"name": "compare_indonesia_weather",
"kind": "act",
"impl": "imperative",
"description": "Compare current weather across several Indonesian cities and update the page with a decision-oriented comparison.",
"inputSchema": {
"type": "object",
"properties": {
"cities": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 2,
"maxItems": 6,
"description": "Two to six Indonesian city names to compare."
}
},
"required": [
"cities"
]
}
}find_next_rain_windowAction
Find the next high-probability rain window in an Indonesian city over the next 48 hours and update the page to focus on it.
View tool JSON
{
"name": "find_next_rain_window",
"kind": "act",
"impl": "imperative",
"description": "Find the next high-probability rain window in an Indonesian city over the next 48 hours and update the page to focus on it.",
"inputSchema": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "Indonesian city name."
}
},
"required": [
"city"
]
}
}