API Reference

WordPress / API Reference

rest_custom_call

Tool tool. Make an arbitrary REST API call to any endpoint with any HTTP method (GET, POST, PUT, PATCH, DELETE)

This is a read-only tool: it returns rest custom call for your WordPress account. It changes nothing.

Ask Claude

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

Rest custom call in my WordPress account for [method], [endpoint].

It takes 2 required and 2 optional parameters.

Parameters

ParameterTypeRequiredDescription
methodstringYesMethod
endpointstringYesEndpoint
bodyobjectNoBody
paramsobjectNoParams

Related WordPress tools

Start free — 30 tool calls a month

No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.