get_type_info

[analysis]

Gets detailed information about a type including its members, base type, interfaces, and documentation.

Parameters

NameTypeRequiredDescription
typeNamestringYesThe name of the type to analyze. Can be a simple name (e.g., 'ISolutionManager') or fully qualified (e.g., 'Glider.Interfaces.ISolutionManager').
projectNamestringNoOptional project name to limit the search scope.

Examples

Get info about a class

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_type_info",
    "arguments": {
      "typeName": "UserService"
    }
  }
}
Response
{
  "success": true,
  "data": {
    "name": "SolutionManager",
    "fullName": "Glider.Services.SolutionManager",
    "kind": "Class",
    "accessibility": "Public",
    "baseType": "Object",
    "interfaces": [
      "ISolutionManager"
    ],
    "members": [
      {
        "name": "LoadSolutionAsync",
        "kind": "Method",
        "type": "Task",
        "accessibility": "Public",
        "signature": "Task LoadSolutionAsync(string solutionPath)"
      }
    ]
  },
  "error": null
}

Get info with full namespace

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_type_info",
    "arguments": {
      "typeName": "MyApp.Services.UserService"
    }
  }
}
Response
{
  "success": true,
  "data": {
    "name": "SolutionManager",
    "fullName": "Glider.Services.SolutionManager",
    "kind": "Class",
    "accessibility": "Public",
    "baseType": "Object",
    "interfaces": [
      "ISolutionManager"
    ],
    "members": [
      {
        "name": "LoadSolutionAsync",
        "kind": "Method",
        "type": "Task",
        "accessibility": "Public",
        "signature": "Task LoadSolutionAsync(string solutionPath)"
      }
    ]
  },
  "error": null
}

Response

Returns type details including members, base types, interfaces, and docs

Go to Playground to test this tool interactively.