mask_text

Mask text, keeping only start/end characters visible.

Server TinyFn https://api.tinyfn.io/mcp/all/
Category Execute
Risk class High
Parameters 41 required

What mask_text does on TinyFn

AI agents invoke mask_text to trigger actions in TinyFn. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

ParameterTypeRequiredDescription
end integer Characters to keep at end
text string Yes Text to mask
start integer Characters to keep at start
mask_char string Masking character

Parameters from the server's own tool schema.

Why mask_text needs a policy

mask_text triggers real processes with real consequences. An agent gone sideways doesn't fire it once — it starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.

Questions about mask_text

What does the mask_text tool do? +

Mask text, keeping only start/end characters visible. It is categorised as a Execute tool in the TinyFn MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

What parameters does mask_text accept? +

mask_text accepts 4 parameters: end, text, start, mask_char. Required: text. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on mask_text? +

Register the TinyFn MCP server in PolicyLayer and add a rule for mask_text: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches TinyFn. Nothing to install.

What risk level is mask_text? +

mask_text is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit mask_text? +

Yes. Add a rate_limit block to the mask_text rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block mask_text completely? +

Set action: deny in the PolicyLayer policy for mask_text. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides mask_text? +

mask_text is provided by the TinyFn MCP server (https://api.tinyfn.io/mcp/all/). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// THE FULL RECORD

mask_text is one line of TinyFn's registry record.

The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.