A
TC Custom JavaScript Content

Add custom JavaScript to your site from a professional

Add custom JavaScript to your site from a professional editor in the WordPress admin.

What it does

Add custom JavaScript to your site from a professional editor in the WordPress admin. It is one of the abilities the TC Custom JavaScript plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

🔒 edit_posts

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

tc-custom-javascript.add-custom-javascript-to-your-site-from-
{
  "ability": "tc-custom-javascript.add-custom-javascript-to-your-site-from-",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More TC Custom JavaScript abilities

All TC Custom JavaScript abilities →