Retrieve an Agent Tool in a Project

get

/ic/api/integration/v1/projects/{projectId}/ai/tools/{id}

Returns details of a specific Agent Tool.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : ToolRs
Match All
Show Source
Nested Schema : ToolListRs
Match All
Show Source
Nested Schema : IdRs
Match All
Show Source
Nested Schema : GenericRestRs
Type: object
Show Source
Nested Schema : IdRs-allOf[1]
Type: object
Show Source
Nested Schema : ToolListRs-allOf[2]
Type: object
Show Source
Nested Schema : ToolRs-allOf[1]
Type: object
Show Source
Nested Schema : ToolConnectionRs
Type: object
Show Source
Nested Schema : ToolIntegrationRs
Type: object
Show Source
Nested Schema : annotations
Type: object
Additional Properties Allowed
Show Source
Annotations for the tool
Nested Schema : parameters
Type: object
Additional Properties Allowed: true
Json node for the tool

404 Response

Agent Tool not found

500 Response

Server error
Back to Top

Examples

The following example shows how to retrieve a specific agent tool by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.

Example: Retrieve agent tool CREATE_ORDER_TOOL

This command retrieves the specified agent tool.

curl -X GET -H 'Authorization: Bearer access_token' https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/projects/TEST_PROJECT/ai/tools/CREATE_ORDER_TOOL?integrationInstance=service-instance
Back to Top