harness_search
Search across Harness resource types with relevance ranking. Scope results by passing a Harness URL.
Instructions
Search across multiple Harness resource types. Returns results ranked by relevance. Accepts a Harness URL for scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Harness UI URL — auto-extracts org and project | |
| query | Yes | Search term | |
| org_id | No | Organization identifier (overrides default) | |
| compact | No | Strip verbose metadata (default true) | |
| project_id | No | Project identifier (overrides default) | |
| max_per_type | No | Max results per type | |
| resource_scope | No | Scope to search. Use account for account-level resources and to omit org/project defaults; org injects only org; project injects org+project. Auto-detected from url. | |
| resource_types | No | Types to search (defaults to all listable) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query that was executed | |
| results | Yes | Search results grouped by resource type | |
| total_matches | Yes | Total number of matching results | |
| searched_types | Yes | Number of resource types searched |