View source: R/bedrockagentcore_operations.R
| bedrockagentcore_invoke_code_interpreter | R Documentation |
Executes code within an active code interpreter session in Amazon Bedrock AgentCore. This operation processes the provided code, runs it in a secure environment, and returns the execution results including output, errors, and generated visualizations.
See https://www.paws-r-sdk.com/docs/bedrockagentcore_invoke_code_interpreter/ for full documentation.
bedrockagentcore_invoke_code_interpreter(
codeInterpreterIdentifier,
sessionId = NULL,
traceId = NULL,
traceParent = NULL,
name,
arguments = NULL
)
codeInterpreterIdentifier |
[required] The unique identifier of the code interpreter associated with the session. This must match the identifier used when creating the session with |
sessionId |
The unique identifier of the code interpreter session to use. This must be an active session created with |
traceId |
The trace identifier for request tracking. |
traceParent |
The parent trace information for distributed tracing. |
name |
[required] The name of the code interpreter to invoke. |
arguments |
The arguments for the code interpreter. This includes the code to execute and any additional parameters such as the programming language, whether to clear the execution context, and other execution options. The structure of this parameter depends on the specific code interpreter being used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.