AWS has released TOLAP, a protocol and libraries for object-level access control in AI agent tools. Its goal is to stop prohibited data from entering model context rather than trying to hide it in the final answer.

The short answer

QuestionAnswer
Which problem does TOLAP solve?An agent allowed to call a tool may still request rows or columns the user should not see.
Where is policy enforced?Near the source, before data crosses the tool boundary.
Which stacks are covered?.NET, Python and TypeScript SDKs with fourteen reference integrations.

Authorising a tool is not enough

IAM and OAuth mainly answer whether a user may call a tool. They do not always define the fields, rows, prefixes or methods visible in each call. If the tool holds a broad database connection, an agent can compose a query the application layer never anticipated.

Block data before the context window

An output guardrail is too late when a model has already received a sensitive identifier. TOLAP wraps the source and removes, filters or transforms objects before they return. Prompt injection cannot extract data that never entered the conversation.

One policy across several source types

The schema covers SQL databases, APIs, knowledge bases and object storage. It can hide a column, restrict rows to a region, hash an email, deny an HTTP method or cap results. When several policies apply, the most restrictive outcome wins.

A project to integrate and test

TOLAP is open source under Apache 2.0 with SDKs and a reference policy server. It is not an MCP server or automatic security. Each connector must wrap the function that actually accesses data, fail closed and share behavioural tests across languages.