Home / Servers / Cloudflare API / device_dex_test_update_device_dex_test

Update Device DEX test

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Update Device DEX test Update a DEX test. [PUT /accounts/{account_id}/dex/devices/dex_tests/{dex_test_id}]

Name on the gateway: cloudflare_api__device_dex_test_update_device_dex_test · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
dex_test_id requiredstringdex_test_id parameter
createdstringDate the test was created, in RFC 3339 format.
data requiredobjectThe configuration object which contains the…
descriptionstringAdditional details about the test.
enabled requiredbooleanDetermines whether or not the test is active.
interval requiredstringHow often the test will run.
name requiredstringThe name of the DEX test. Must be unique.
target_policiesarrayDEX rules targeted by this test
targetedboolean
test_idstringThe unique identifier for the test.
updatedstringDate the test was last updated, in RFC 3339…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__device_dex_test_update_device_dex_test",
  "arguments": {
    "account_id": "…",
    "dex_test_id": "…",
    "data": "…",
    "enabled": true,
    "interval": "…",
    "name": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update device dex test tool with account_id set to ….

More from Cloudflare API