Search Symbols
search-symbols · Query · CorePlugin · Code discovery and navigation
Searches declarations by name, metadata name and optional semantic filters.
Availability: Built in and published by default.
Generated from Roslyn Workbench MCP 0.1.0-beta.304 (0.1.0-beta.304).
Behaviour annotations
| Annotation | Value |
|---|---|
destructiveHint |
false |
idempotentHint |
true |
openWorldHint |
false |
readOnlyHint |
true |
title |
"Search Symbols" |
Request
| Property | Type | Required | Description |
|---|---|---|---|
query |
string |
No | Source-name query. |
metadataName |
string |
No | |
scope |
object | null |
No | The optional scope selector. |
kinds |
array | null |
No | The included symbol kinds. |
accessibilities |
array | null |
No | The included accessibilities. |
namespace |
string | null |
No | The optional namespace filter. |
symbolsLimit |
integer | null |
No | Maximum number of results to return. |
workspace |
object | null |
No | Provide workspaceId, alias, path, or any combination. |
Response
Success response
| Property | Type | Required | Description |
|---|---|---|---|
ok |
boolean constant (true) |
Yes | Whether the tool invocation succeeded. |
data |
object | null |
Yes | Tool-specific result payload. |
snapshot |
object |
Yes | Exact immutable workspace snapshot associated with the result, when available. |
Error response
| Property | Type | Required | Description |
|---|---|---|---|
ok |
boolean constant (false) |
Yes | Whether the tool invocation succeeded. |
error |
object |
Yes | Structured error details when the invocation failed. |
continuation |
oneOf |
No | Action the agent should take before retrying or continuing. |
Bounded collections and continuation
These response locations publish returned items with explicit bounds and continuation state:
$/oneOf/0/properties/data/properties/symbols
Continuations and required actions
A non-success response may include a structured continuation at the following schema location. Follow its tool call or user-action instruction instead of guessing how to retry:
$/oneOf/1/properties/continuation
Examples
Search a selected workspace with a limit
Workflow: Find and inspect a symbol safely, step 1.
Find matching symbols without returning an unbounded result set.
Expected outcome: At most 25 symbols are returned and hasMore indicates whether the query found additional matches.
Representative response fragment: