Resolve before acting#
The generic targets.resolve tool uses connected provider target discovery to return resolved, ambiguous or not-found outcomes. It does not invent endpoint IDs or create missing provider capabilities.
Permissions#
The generic permission is targets.resolve. Runtime resolver/provider read permissions can also be required for the selected provider/kind. Use an exact already-established candidate or clarify ambiguity before constructing a consequential execution.
Exact registered tools#
Tool-by-tool operating guide#
The tables below describe the published inputs. Complete nested schemas and original registration metadata remain available in the expandable reference afterward. Fields marked optional may still be needed by the selected operation or provider; they are not permission to guess identities.
targets.resolve#
Resolves selectors through available provider plugins. Reuse only confirmed top-level targets. For a named container and its members, use one container selector with desired_kind for the member kind, rather than repeating the container name as an independent selector.
Permission: targets.resolve. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.
| Input | Required | Type and published constraints |
|---|---|---|
selectors | Yes | array; minItems=1; maxItems=500 |
desired_kind | No | string; minLength=1 |
context | No | object |
Complete schemas and registration reference#
targets.resolvetargets.resolve
Resolve one or many logical target references in one call using the registered provider plugins. Reuse only confirmed top-level targets as exact IDs in operational tools. For a named container and its members, create one container selector and set desired_kind to the member kind instead of repeating the container name in a second selector.
Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled
resolved target payload with confirmation/ambiguity information Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.
Exact input schema
{
"type": "object",
"required": [
"selectors"
],
"additionalProperties": false,
"properties": {
"selectors": {
"type": "array",
"minItems": 1,
"maxItems": 500,
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"minLength": 1,
"description": "Semantic source kind selected from the currently available target providers. Do not invent unsupported kinds."
},
"query": {
"type": "string",
"minLength": 1,
"description": "Primary target identity or search phrase. Keep it focused on the entity being resolved. For several independent targets create separate selector objects. A container and its members are not independent targets: use one container selector with desired_kind set to the member kind."
},
"scope": {
"type": "string",
"enum": [
"one",
"many",
"all"
],
"description": "Expected result cardinality. 'many' is also appropriate when one resolved container expands to multiple member targets."
},
"provider": {
"type": "string",
"minLength": 1,
"description": "Optional explicit provider name. Use only a provider available in the current runtime."
},
"attributes": {
"type": "object",
"description": "Optional structured target attributes supported by the selected provider. Do not invent provider-specific fields.",
"additionalProperties": true
}
},
"required": [
"kind"
],
"additionalProperties": false
}
},
"desired_kind": {
"type": "string",
"minLength": 1
},
"context": {
"type": "object",
"description": "Optional provider context such as tenant, organization, database or site identifiers. Keys are provider-defined.",
"additionalProperties": true
}
}
}Module metadata#
Use resolution in a workflow#
- Configure a provider that supports the target kind and verify its read access.
- Grant
targets.resolveand the applicable provider read permissions. - Describe the target with enough context to distinguish it, such as its exact name and provider.
- Inspect the result state. Continue with a verified candidate only when resolved; ask for clarification when ambiguous.
- Apply the next tool’s own authorization and approval checks before acting.
For example, “Find the endpoint named FINANCE-PC” should establish an actual provider identity. A similar AD computer name does not prove that an Action1 endpoint is the same record. A not-found outcome can reflect provider configuration or scope as well as an absent record.
Selector fields and resolution outcomes#
selectors accepts 1–500 entries. Each requires a supported kind; the published schema does not require every other selector field, but the provider still needs enough context to identify the target. Use query for the focused identity, provider only for an available plugin and attributes only for fields supported by that provider. Top-level context keys are provider-defined; do not invent a universal tenant/site format.
scope can be one, many or all. desired_kind describes the resulting member kind when resolving a named container. Several independent targets need separate selectors; one container and its members should not be modeled as unrelated duplicate searches.
| Outcome | Next step |
|---|---|
| Resolved | Inspect the confirmed top-level identity and use its exact provider ID. |
| Ambiguous | Ask which candidate is intended, then resolve the exact confirmed candidate. Do not execute against the first similar name. |
| Not found | Check spelling, configured provider, access scope and identifying context. Do not invent an ID. |
Approval does not replace target verification#
The tool is READ / NEVER and requires targets.resolve plus applicable resolver/provider read access. Runtime policy can still deny or require approval. Resolving a computer, person or warehouse does not authorize software deployment, account changes or business-data writes. The next tool performs its own permission and approval checks.
Example: identify a computer before inspecting software#
- Ask “Find FINANCE-PC in our Action1 organization.” The provider must support that target kind and context.
- Review the result. Clarify duplicate names instead of treating similarity as identity.
- Reuse the confirmed endpoint ID with the supported Action1 information tool.
- If later requesting a change, review that action's exact scope and any required approval.
The same display name in AD and Action1 does not establish a verified cross-provider identity mapping. A missing match can reflect an unavailable provider or restricted scope rather than absence everywhere.
Further reading#
Module setup · Roles and permissions · Troubleshooting · Available modules