Agent Tools are the stable execution interfaces that the UOSE system provides to agents. They wrap resources, entities, relationships, actions, and governance capabilities into a fixed set of tools so Agents can complete tasks within a controlled semantic space.Documentation Index
Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
Use this file to discover all available pages before exploring further.
Tool List
Core tools include:queryEntities: query candidate entities by intent and scope.getEntityNeighborhood: get the one-hop neighborhood of the target entity and attributes of related entities.queryOntologySchema: view entity types, relation types, and action types of a resource.queryRdf: execute RDF debugging queries when allowed.discoverActions: discover actions executable on the target object.simulateAction: simulate and validate an action before execution.executeAction: execute an action that passed validation.getAuditTrace: view the audit trace of a task.
Recommended Call Order
Agents should use this main path:- Locate the object first, then read context.
- Discover actions first, then construct parameters.
- Simulate and validate first, then execute for real.
- Review audit evidence after execution.
discoverActions and execute directly, and should not choose by themselves when the entity is not unique.
Target Selection
Action tools use target to select objects. Prefer reusing thepreferredTarget returned by the previous step, which contains:
entityRefentityTypeCode
entityId only when copying the full UOSE UUID. Do not treat ontology ID fragments, short hashes of external keys, or display names as entityId.
MCP Access
The MCP provider exposes UOSE Agent Tools as constrained tools and derives these values from trusted headers:- tenant.
- organization.
- actor identity.
- assistant identity.
- current business user token.
current_user_oidc, MCP calls must forward the business user token, for example through x-uose-actor-token. Otherwise, although the Agent has an MCP server token, it cannot access BI or xpert-pro source systems on behalf of the user.
Tool Output
Tool outputs are kept as Agent-consumable as possible:discoverActionsreturns allowed actions, denied actions,reasonCode, and input schema.executeActionreturns status, executionId, policyDecision, auditRef, and effect.- MCP output omits some large fields, such as summary, appliedPlan, and audit, and indicates them through omitted fields.