log_search

Search logs by tool name, date range, or keyword.

Server AgentOS netflypsb/agentos
Category Read
Risk class Low
Parameters 00 required

What log_search does on AgentOS

AI agents call log_search to retrieve information from AgentOS without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why log_search needs a policy

This tool retrieves historical log data based on search criteria. It has no side effects—it does not create, modify, delete, or execute any operations. The search capability is purely informational, making it a Read-category tool with low severity since misuse would only expose existing log information rather than cause operational harm.

From the tool's definition Tool name 'log_search' and description 'Search logs by tool name, date range, or keyword' indicate querying/retrieval operations with no modification or deletion of data.

Questions about log_search

What does the log_search tool do? +

Search logs by tool name, date range, or keyword. It is categorised as a Read tool in the AgentOS MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on log_search? +

Register the AgentOS MCP server in PolicyLayer and add a rule for log_search: 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 AgentOS. Nothing to install.

What risk level is log_search? +

log_search is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit log_search? +

Yes. Add a rate_limit block to the log_search 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 log_search completely? +

Set action: deny in the PolicyLayer policy for log_search. 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 log_search? +

log_search is provided by the AgentOS MCP server (netflypsb/agentos). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

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.