API Reference

Meta Ads / API Reference

meta_ads_sync_batch

Meta Ads tool. Run up to 50 Graph API calls in a single synchronous batch request. Faster than N individual calls for dependent chains. Supports JSONPath references between steps: use {result=step_name:$.id} to pass the ID from step N to step N+1. Args: operations: JSON array of operations. Each needs 'method', 'relative_url', and optionally 'body' and 'name'. Example: '[{"method":"GET","relative_url":"me","name":"get_me"}, {"method":"GET","relative_url":"me/accounts"}]'

This is a write tool: it synchronises batch in your Meta Ads account. Claude asks you to confirm before it runs.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Sync batch in my Meta Ads account for [operations].

It takes 1 required and 0 optional parameters.

Parameters

ParameterTypeRequiredDescription
operationsstringYesOperations

Related Meta Ads tools

Before you can call it

This tool needs a connected Meta Ads account. The Meta Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.

Workflows that use this

Rather than calling tools one at a time, these skills run a whole procedure against the same account:

Start using MCP Ads