More details on using Subconscious
choices[0].message.content
field as a JSON object. This field is not a simple string - it’s always a structured JSON that provides detailed insights into the agent’s reasoning process and tool usage.
choices[0].message.content
field contains JSON that follows this TypeScript interface:
reasoning
: An array of Task
objects that show the agent’s step-by-step reasoning processanswer
: The final, human-readable answer to your original promptthought
: The agent’s internal reasoning about what to do nexttitle
: A descriptive title for this reasoning steptooluse
: Details about a tool call, including:
parameters
: The input parameters sent to the tooltool_name
: The name of the tool that was calledtool_result
: The result returned by the toolsubtasks
: Nested tasks showing more detailed reasoning stepsconclusion
: The agent’s conclusion after completing this reasoning stepchoices[0].message.content
field will contain JSON like this:
usage
- Token usage information for the requestmodel
- The model that was used for the completion