get_vote_result
Pack: storting-no · Endpoint: https://gateway.pipeworx.io/storting-no/mcp
Per-MP results (“voteringsresultat”) for one vote: how each representative voted (for/against/absent). Pass a votering id from get_votes.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
voteringid | string | yes | Numeric vote id (voteringid) from get_votes. |
Example call
Arguments
{
"voteringid": "5678"
}
curl
curl -X POST https://gateway.pipeworx.io/storting-no/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_vote_result","arguments":{"voteringid":"5678"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_vote_result', {
"voteringid": "5678"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"storting-no": {
"url": "https://gateway.pipeworx.io/storting-no/mcp"
}
}
}
See Getting Started for client-specific install steps.