Skip to content

Commit f1d8161

Browse files
jottakkaFrancisco Liberal
andauthored
Hubspot 3.0.0 docs update + Arcade Engine API docs update (#559)
* Hubspot 3.0.0 docs update * updating arcade engine docs as well --------- Co-authored-by: Francisco Liberal <[email protected]>
1 parent 1074c06 commit f1d8161

File tree

39 files changed

+658
-1002
lines changed

39 files changed

+658
-1002
lines changed

app/en/mcp-servers/development/arcade-engine-api/page.mdx

Lines changed: 9 additions & 421 deletions
Large diffs are not rendered by default.

app/en/mcp-servers/sales/hubspot/page.mdx

Lines changed: 318 additions & 2 deletions
Large diffs are not rendered by default.

public/examples/integrations/mcp-servers/engine_api/check_arcade_engine_health_example_call_tool.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,13 @@ import { Arcade } from "@arcadeai/arcadejs";
22

33
const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable
44

5-
const USER_ID = "{arcade_user_id}";
65
const TOOL_NAME = "EngineApi.CheckArcadeEngineHealth";
76

8-
// Start the authorization process
9-
const authResponse = await client.tools.authorize({
10-
tool_name: TOOL_NAME,
11-
user_id: USER_ID,
12-
});
13-
14-
if (authResponse.status !== "completed") {
15-
console.log(`Click this link to authorize: ${authResponse.url}`);
16-
}
17-
18-
// Wait for the authorization to complete
19-
await client.auth.waitForCompletion(authResponse);
20-
217
const toolInput = {};
228

239
const response = await client.tools.execute({
2410
tool_name: TOOL_NAME,
2511
input: toolInput,
26-
user_id: USER_ID,
2712
});
2813

2914
console.log(JSON.stringify(response.output.value, null, 2));

public/examples/integrations/mcp-servers/engine_api/check_arcade_engine_health_example_call_tool.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,14 @@
33

44
client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable
55

6-
USER_ID = "{arcade_user_id}"
76
TOOL_NAME = "EngineApi.CheckArcadeEngineHealth"
87

9-
auth_response = client.tools.authorize(
10-
tool_name=TOOL_NAME,
11-
user_id=USER_ID,
12-
)
13-
14-
if auth_response.status != "completed":
15-
print(f"Click this link to authorize: {auth_response.url}")
16-
17-
# Wait for the authorization to complete
18-
client.auth.wait_for_completion(auth_response)
19-
208
tool_input = {
219

2210
}
2311

2412
response = client.tools.execute(
2513
tool_name=TOOL_NAME,
2614
input=tool_input,
27-
user_id=USER_ID,
2815
)
2916
print(json.dumps(response.output.value, indent=2))

public/examples/integrations/mcp-servers/engine_api/get_engine_configuration_example_call_tool.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

public/examples/integrations/mcp-servers/engine_api/get_model_context_protocol_example_call_tool.js

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { Arcade } from "@arcadeai/arcadejs";
2+
3+
const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable
4+
5+
const TOOL_NAME = "EngineApi.GetOpenAPISpecification";
6+
7+
const toolInput = {};
8+
9+
const response = await client.tools.execute({
10+
tool_name: TOOL_NAME,
11+
input: toolInput,
12+
});
13+
14+
console.log(JSON.stringify(response.output.value, null, 2));
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import json
2+
from arcadepy import Arcade
3+
4+
client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable
5+
6+
TOOL_NAME = "EngineApi.GetOpenAPISpecification"
7+
8+
tool_input = {
9+
10+
}
11+
12+
response = client.tools.execute(
13+
tool_name=TOOL_NAME,
14+
input=tool_input,
15+
)
16+
print(json.dumps(response.output.value, indent=2))

public/examples/integrations/mcp-servers/engine_api/get_session_verification_settings_example_call_tool.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

public/examples/integrations/mcp-servers/engine_api/get_session_verification_settings_example_call_tool.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)