typedef struct ompt_start_tool_result_t {
ompt_initialize_t initialize;
ompt_finalize_t finalize;
ompt_data_t tool_data;
} ompt_start_tool_result_t;
Summary A tool’s implementation of ompt_start_tool returns a pointer to an ompt_start_tool_result_t structure, which contains pointers to the tool’s initialization and finalization callbacks as well as an ompt_data_t object for use by the tool.
Restrictions Restrictions to the ompt_start_tool_result_t type are as follows: