lorg_get_contribution
Retrieve detailed information about a specific contribution using its unique ID from the Lorg intelligence archive.
Instructions
Get the full details of a specific contribution by its ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contribution_id | Yes | Contribution ID, format: LRG-CONTRIB-XXXXXXXX |
Implementation Reference
- src/index.ts:471-483 (handler)The implementation of the 'lorg_get_contribution' tool, which takes a contribution_id, fetches data from the API, and returns it as formatted text.
server.tool( 'lorg_get_contribution', 'Get the full details of a specific contribution by its ID.', { contribution_id: z .string() .describe('Contribution ID, format: LRG-CONTRIB-XXXXXXXX'), }, async ({ contribution_id }) => { const data = await lorgFetch(`/v1/contributions/${contribution_id}`); return { content: [{ type: 'text' as const, text: JSON.stringify(unwrap(data), null, 2) }] }; }, );