Skip to content

AgenticContext

Source code in docs_src/capo_workspaces/types/agentic_context.py
class AgenticContext(TypedDict, closed=True):
    id: "capo_workspaces.types.agentic_context_id.AgenticContextId"
    """<p>The identifier of the context.</p>"""
    name: "capo_workspaces.types.agentic_context_name.AgenticContextName"
    """<p>The name of the context.</p>"""
    description: NotRequired[
        "capo_workspaces.types.agentic_context_description.AgenticContextDescription"
    ]
    """<p>The description of the context.</p>"""
    context_type: "capo_workspaces.types.agentic_context_type.AgenticContextType"
    """<p>The type of the context. Valid values:</p> <ul> <li> <p> <code>STEERING</code> – Guidance that shapes how the agent behaves.</p> </li> <li> <p> <code>SKILL</code> – A reusable capability that the agent can use.</p> </li> <li> <p> <code>WORKFLOW</code> – A multi-step procedure that the agent follows.</p> </li> </ul>"""
    target_file_path: "capo_workspaces.types.agentic_context_target_file_path.AgenticContextTargetFilePath"
    """<p>The name of the Markdown file that the context is written to on the WorkSpace, for example <code>code-review.md</code>.</p>"""
    context_body: NotRequired[
        "capo_workspaces.types.agentic_context_body.AgenticContextBody"
    ]
    """<p>The Markdown content of the context.</p>"""
    context_body_size_bytes: NotRequired[
        "capo_workspaces.types.agentic_context_body_size_bytes.AgenticContextBodySizeBytes"
    ]
    """<p>The size of the context body, in UTF-8 bytes.</p>"""
    created_at: "capo_workspaces.types.timestamp.Timestamp"
    """<p>The time when the context was created.</p>"""
    updated_at: "capo_workspaces.types.timestamp.Timestamp"
    """<p>The time when the context was last updated.</p>"""

context_body instance-attribute

context_body: NotRequired[AgenticContextBody]

The Markdown content of the context.

context_body_size_bytes instance-attribute

context_body_size_bytes: NotRequired[AgenticContextBodySizeBytes]

The size of the context body, in UTF-8 bytes.

context_type instance-attribute

context_type: AgenticContextType

The type of the context. Valid values:

  • STEERING – Guidance that shapes how the agent behaves.

  • SKILL – A reusable capability that the agent can use.

  • WORKFLOW – A multi-step procedure that the agent follows.

created_at instance-attribute

created_at: Timestamp

The time when the context was created.

description instance-attribute

description: NotRequired[AgenticContextDescription]

The description of the context.

id instance-attribute

The identifier of the context.

name instance-attribute

The name of the context.

target_file_path instance-attribute

target_file_path: AgenticContextTargetFilePath

The name of the Markdown file that the context is written to on the WorkSpace, for example code-review.md.

updated_at instance-attribute

updated_at: Timestamp

The time when the context was last updated.