warnings
Pack: fmi · Endpoint: https://gateway.pipeworx.io/fmi/mcp
Currently active weather warnings (Finland, ISO bulletin XML returned as text).
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/fmi/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"warnings","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('warnings', {});
Response shape
Always returns: format, body
| Field | Type | Description |
|---|---|---|
format | string | Data format |
body | string | ISO bulletin XML content as text |
Full JSON Schema
{
"type": "object",
"properties": {
"format": {
"type": "string",
"description": "Data format",
"enum": [
"xml"
]
},
"body": {
"type": "string",
"description": "ISO bulletin XML content as text"
}
},
"required": [
"format",
"body"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"fmi": {
"url": "https://gateway.pipeworx.io/fmi/mcp"
}
}
}
See Getting Started for client-specific install steps.