resource_show
Pack: data-govt-nz · Endpoint: https://gateway.pipeworx.io/data-govt-nz/mcp
New Zealand open data catalogue (data.govt.nz CKAN) — metadata for a single resource (file/download) by resource ID: URL, format, size, description, and last modified date.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Example call
Arguments
{
"id": "resource-12345"
}
curl
curl -X POST https://gateway.pipeworx.io/data-govt-nz/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"resource_show","arguments":{"id":"resource-12345"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('resource_show', {
"id": "resource-12345"
});
Response shape
| Field | Type | Description |
|---|---|---|
id | string | Resource ID |
name | string | Resource name |
url | string | Resource URL |
format | string | Resource format (e.g. CSV, JSON) |
description | string | Resource description |
package_id | string | Parent dataset ID |
created | string | Creation timestamp |
last_modified | string | Last modification timestamp |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource ID"
},
"name": {
"type": "string",
"description": "Resource name"
},
"url": {
"type": "string",
"description": "Resource URL"
},
"format": {
"type": "string",
"description": "Resource format (e.g. CSV, JSON)"
},
"description": {
"type": "string",
"description": "Resource description"
},
"package_id": {
"type": "string",
"description": "Parent dataset ID"
},
"created": {
"type": "string",
"description": "Creation timestamp"
},
"last_modified": {
"type": "string",
"description": "Last modification timestamp"
}
},
"description": "Single resource details"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"data-govt-nz": {
"url": "https://gateway.pipeworx.io/data-govt-nz/mcp"
}
}
}
See Getting Started for client-specific install steps.