ApiHit#

class ansys.fluent.mcp.solve.catalog.retriever.ApiHit#

One ranked candidate returned by a retriever.

Overview#

to_tool_dict

Convert the object to a tool response dictionary.

Import detail#

from ansys.fluent.mcp.solve.catalog.retriever import ApiHit

Attribute detail#

ApiHit.path: str#
ApiHit.kind: str#
ApiHit.score: float#
ApiHit.raw: str | None = None#
ApiHit.payload: dict[str, Any] | None = None#

Method detail#

ApiHit.to_tool_dict() dict[str, Any]#

Convert the object to a tool response dictionary.

Returns:
dict[str, Any]

Mapping containing the operation result.