get_comment

Pack: regulations-gov · Endpoint: https://gateway.pipeworx.io/regulations-gov/mcp

Single public comment by comment ID. Returns text, submitter, posting date, attachments.

Parameters

NameTypeRequiredDescription
comment_idstringyesComment ID
include_attachmentsbooleannoInclude attachment list (default true)

Example call

Arguments

{
  "comment_id": "EPA-HQ-OAR-2021-0317-0042"
}

curl

curl -X POST https://gateway.pipeworx.io/regulations-gov/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_comment","arguments":{"comment_id":"EPA-HQ-OAR-2021-0317-0042"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_comment', {
  "comment_id": "EPA-HQ-OAR-2021-0317-0042"
});

More examples

{
  "comment_id": "FDA-2023-D-1234-5678",
  "include_attachments": true
}

Response shape

FieldTypeDescription
idstring | nullComment ID
typestring | nullResource type
includedarrayIncluded attachment resources
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Comment ID"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "Resource type"
    },
    "included": {
      "type": "array",
      "description": "Included attachment resources",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Attachment ID"
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Resource type"
          }
        },
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "regulations-gov": {
      "url": "https://gateway.pipeworx.io/regulations-gov/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026