Tool tree
Independent news, analysis, and investigative journalism from the Maldives. News, politics, society, environment, and in-depth reporting.
Implementation
gradeNot graded
gradeNot graded
search_articlesAnswer
Search Maldives Independent published articles. Returns titles, deks, permalinks, and dates.
View tool JSON
{
"name": "search_articles",
"kind": "answer",
"impl": "imperative",
"description": "Search Maldives Independent published articles. Returns titles, deks, permalinks, and dates.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query"
},
"language": {
"type": "string",
"enum": [
"en",
"dv"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 20
}
},
"required": [
"query"
]
}
}get_current_page_contextAnswer
Returns metadata about the page the user is currently viewing.
View tool JSON
{
"name": "get_current_page_context",
"kind": "answer",
"impl": "imperative",
"description": "Returns metadata about the page the user is currently viewing.",
"inputSchema": {
"type": "object",
"properties": {}
}
}fetch_article_markdownAnswer
Fetch a single article in markdown via content negotiation.
View tool JSON
{
"name": "fetch_article_markdown",
"kind": "answer",
"impl": "imperative",
"description": "Fetch a single article in markdown via content negotiation.",
"inputSchema": {
"type": "object",
"properties": {
"permalink": {
"type": "string"
}
},
"required": [
"permalink"
]
}
}search_articlesAnswer
Search Maldives Independent's published articles. Returns titles, deks, permalinks, and dates.
View tool JSON
{
"name": "search_articles",
"kind": "answer",
"impl": "imperative",
"description": "Search Maldives Independent's published articles. Returns titles, deks, permalinks, and dates.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query"
},
"language": {
"type": "string",
"enum": [
"en",
"dv"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 20
}
},
"required": [
"query"
]
}
}get_recent_articlesAnswer
Fetch the most recent published articles from the homepage feed.
View tool JSON
{
"name": "get_recent_articles",
"kind": "answer",
"impl": "imperative",
"description": "Fetch the most recent published articles from the homepage feed.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10
}
}
}
}get_current_page_contextAnswer
Returns metadata about the page the user is currently viewing — useful for grounding LLM responses in the article they're reading.
View tool JSON
{
"name": "get_current_page_context",
"kind": "answer",
"impl": "imperative",
"description": "Returns metadata about the page the user is currently viewing — useful for grounding LLM responses in the article they're reading.",
"inputSchema": {
"type": "object",
"properties": {}
}
}navigate_to_articleAction
Navigate the user's browser to a specific article by permalink. Use after search_articles to take the user to the result they wanted.
View tool JSON
{
"name": "navigate_to_article",
"kind": "act",
"impl": "imperative",
"description": "Navigate the user's browser to a specific article by permalink. Use after search_articles to take the user to the result they wanted.",
"inputSchema": {
"type": "object",
"properties": {
"permalink": {
"type": "string",
"description": "Article permalink, e.g. \"politics/some-slug-7110\""
}
},
"required": [
"permalink"
]
}
}fetch_article_markdownAnswer
Fetch a single article's full content in markdown — uses the site's content negotiation.
View tool JSON
{
"name": "fetch_article_markdown",
"kind": "answer",
"impl": "imperative",
"description": "Fetch a single article's full content in markdown — uses the site's content negotiation.",
"inputSchema": {
"type": "object",
"properties": {
"permalink": {
"type": "string"
}
},
"required": [
"permalink"
]
}
}