API Reference

Meta Ads / API Reference

meta_ads_set_page_cta

Meta Ads tool. Set or update the call-to-action button on a Facebook Page. Args: page_id: Facebook Page ID. page_access_token: Page-level access token. cta_type: CTA type. Options: CALL_NOW, CONTACT_US, SEND_MESSAGE, BOOK_NOW, SHOP_NOW, SIGN_UP, WATCH_VIDEO, SEND_EMAIL, LEARN_MORE, GET_DIRECTIONS, REQUEST_APPOINTMENT, GET_QUOTE, PLAY_GAME. cta_value: Associated value — phone number for CALL_NOW, URL for SHOP_NOW/SIGN_UP/etc. For SEND_MESSAGE leave empty (opens Messenger).

This is a write tool: it sets page cta 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:

Set page cta in my Meta Ads account for [page id], [page access token], [cta type].

It takes 3 required and 1 optional parameter.

Parameters

ParameterTypeRequiredDescription
page_idstringYesPage Id
page_access_tokenstringYesPage Access Token
cta_typestringYesCta Type
cta_valuestringNoCta Value

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