Search resources
search_resourcesFind Oracle Cloud Infrastructure tenancy resources via structured queries or free-text search, returning matching instances and other resources for discovery and dependency mapping.
Instructions
Search tenancy resources using OCI Resource Search. Provide either a structured query (e.g. "query instance resources where displayName =~ 'prod'") or free text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Structured query or free-text search string | |
| freeText | No | Treat query as free text instead of a structured query |