# Function handleGetPlenarySessionDocumentItems

- handleGetPlenarySessionDocumentItems(args: unknown): Promise<ToolResult>

  Handles the get_plenary_session_document_items MCP tool request.

  Retrieves individual items within European Parliament plenary session documents, enabling granular access to specific agenda or document entries within a session.

  #### Parameters

  - args: unknown

    Raw tool arguments, validated against GetPlenarySessionDocumentItemsSchema

  #### Returns Promise<ToolResult>

  MCP tool result containing a paginated list of plenary session document items

  #### Throws

  - If `args` fails schema validation (e.g., missing required fields or invalid format)
  - If the European Parliament API is unreachable or returns an error response

  #### Example

      const result = await handleGetPlenarySessionDocumentItems({ limit: 20, offset: 0 });
      // Returns up to 20 plenary session document items from the EP Open Data Portal

  #### Security

  - Input is validated with Zod before any API call.
  - Personal data in responses is minimised per GDPR Article 5(1)(c).
  - All requests are rate-limited and audit-logged per ISMS Policy AU-002.

  #### Since

  0.8.0

  #### See

  - getPlenarySessionDocumentItemsToolMetadata for MCP schema registration
  - handleGetAdoptedTexts for retrieving finalized plenary documents
  - Defined in tools/getPlenarySessionDocumentItems.ts:49