x ads get line item
x_ads_get_line_itemRetrieve a specific line item by ID from your X Ads account, preserving native fields and pagination, with optional inclusion of soft-deleted items.
Instructions
Get a single line item by ID Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | X Ads account ID from X_ADS_ACCOUNT_IDS. | |
| line_item_id | Yes | Line item ID belonging to the selected X Ads account. | |
| with_deleted | No | Include the line item even if soft-deleted (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |