CreateAgenticContextRequest
¶
Source code in docs_src/capo_workspaces/types/create_agentic_context_request.py
client_token
instance-attribute
¶
client_token: NotRequired[IdempotencyToken]
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request with the same parameters, the service returns the result of that request and doesn't create another context.
If you reuse the token with different parameters, the operation returns ValidationException. If you deleted the context created with this token, the operation returns ResourceNotFoundException.
context_body
instance-attribute
¶
context_body: NotRequired[AgenticContextBody]
The Markdown content of the context, up to 1 MiB of UTF-8 text. Currently, you must specify this field.
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.
description
instance-attribute
¶
description: NotRequired[AgenticContextDescription]
The description of the context.
tags
instance-attribute
¶
tags: NotRequired[TagList]
The tags to add to the context. Each tag key can appear only once.
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. This is a file name, not a path. It can contain letters, digits, periods (.), underscores (_), and hyphens (-), can be 1–255 characters long, and can't be . or ...