fetch
Retrieve complete data for specific Meta Ads records by ID to access campaign details, performance metrics, and advertising information.
Instructions
Fetch complete record data by ID.
It retrieves the full data for a specific record identified by its ID.
Args:
id: The record ID to fetch (format: "type:id", e.g., "account:act_123456")
Returns:
JSON response with complete record data including id, title, text, and metadata
Example Usage:
fetch(id="account:act_123456789")
fetch(id="campaign:23842588888640185")
fetch(id="ad:23842614006130185")
fetch(id="page:123456789")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |