API Reference

Meta Ads / API Reference

meta_ads_like_object

Meta Ads tool. Like or unlike a Facebook post or comment as the Page. Args: object_id: Post ID or comment ID to like/unlike (required). page_access_token: Page access token (required to act as the page). unlike: True to remove the like, False to add it. Default False.

This is a read-only tool: it returns like object for your Meta Ads account. It changes nothing.

Ask Claude

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

Like object in my Meta Ads account for [object id].

It takes 1 required and 2 optional parameters.

Parameters

ParameterTypeRequiredDescription
object_idstringYesObject Id
page_access_tokenstringNoPage Access Token
unlikebooleanNoUnlike

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